From b82208887d79c72d5df2a274eb8a6e719682109d Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Sat, 6 Jan 2024 15:05:11 -0800 Subject: [PATCH] Standardizing durations I didn't notice I had settled on 1 second for all three stages in the end lol. --- guide/guide-examples/examples/intro.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/guide-examples/examples/intro.rs b/guide/guide-examples/examples/intro.rs index e990df2..55974d5 100644 --- a/guide/guide-examples/examples/intro.rs +++ b/guide/guide-examples/examples/intro.rs @@ -40,10 +40,10 @@ fn book() { } guide_examples::book_example!(intro).animated(|animation| { - animation.wait_for(Duration::from_millis(1_000)).unwrap(); + animation.wait_for(Duration::from_secs(1)).unwrap(); animation .animate_text_input("Ferris 🦀", Duration::from_secs(1)) .unwrap(); - animation.wait_for(Duration::from_millis(1_000)).unwrap(); + animation.wait_for(Duration::from_secs(1)).unwrap(); }); }