From f8a0921f5bc2c3522d1a065137c5d2b165a56fcf Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 14 Jul 2024 01:35:02 +0800 Subject: [PATCH] fix rustfmt issues... --- services/modals/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/modals/src/lib.rs b/services/modals/src/lib.rs index 92c407d0b..3ca7fc7b3 100644 --- a/services/modals/src/lib.rs +++ b/services/modals/src/lib.rs @@ -486,12 +486,12 @@ impl Modals { /// possible, you can add a sleep by doing something like the code below. This will reduce the rate at /// which your loop runs, as well as at which the UI updates. /// ``` - /// std::thread::sleep(std::time::Duration::from_millis(100)); + /// std::thread::sleep(std::time::Duration::from_millis(100)); /// ``` /// - An alternative "softer" solution is to call yield. This will cause the producer to yield its time /// slice to other processes in the OS, which can give the progress bar a chance to catch up. /// ``` - /// xous::yield_slice(); + /// xous::yield_slice(); /// ``` /// /// # Example