Skip to content

Commit 75c920c

Browse files
authored
Fix typos (#164)
chore: fix some typos in comment
2 parents c8a3df6 + 052b2ba commit 75c920c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ mod tests {
398398

399399
tokio::join!(fut1, fut2);
400400

401-
// At this point, graceful shutdown must have occured, and the slow
401+
// At this point, graceful shutdown must have occurred, and the slow
402402
// request must have finished. Since there was no timeout, the elapsed
403403
// time should be at least 500 ms (slow request duration).
404404
assert!(start.elapsed() >= Duration::from_millis(500 + 100));
@@ -458,7 +458,7 @@ mod tests {
458458
.unwrap()
459459
.unwrap();
460460

461-
// At this point, graceful shutdown must have occured.
461+
// At this point, graceful shutdown must have occurred.
462462
assert!(start.elapsed() >= Duration::from_millis(222 + 333));
463463
assert!(start.elapsed() <= Duration::from_millis(5_555));
464464
};

0 commit comments

Comments
 (0)