From 052b2ba9dc59806daf2f9e3d22e31a995b61d291 Mon Sep 17 00:00:00 2001 From: jimmycathy Date: Sun, 16 Mar 2025 12:46:25 +0800 Subject: [PATCH] chore: fix some typos in comment Signed-off-by: jimmycathy --- src/server.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server.rs b/src/server.rs index 32c75b54..f2415cff 100644 --- a/src/server.rs +++ b/src/server.rs @@ -362,7 +362,7 @@ mod tests { tokio::join!(fut1, fut2); - // At this point, graceful shutdown must have occured, and the slow + // At this point, graceful shutdown must have occurred, and the slow // request must have finished. Since there was no timeout, the elapsed // time should be at least 500 ms (slow request duration). assert!(start.elapsed() >= Duration::from_millis(500 + 100)); @@ -422,7 +422,7 @@ mod tests { .unwrap() .unwrap(); - // At this point, graceful shutdown must have occured. + // At this point, graceful shutdown must have occurred. assert!(start.elapsed() >= Duration::from_millis(222 + 333)); assert!(start.elapsed() <= Duration::from_millis(5_555)); };