mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
cleanup trailing spaces that weren't obvious because nightly runner issues
This commit is contained in:
parent
311154e231
commit
89ed22a702
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue