diff --git a/core/lib/src/router/collider.rs b/core/lib/src/router/collider.rs index 500af5c9..acf4d7c9 100644 --- a/core/lib/src/router/collider.rs +++ b/core/lib/src/router/collider.rs @@ -31,7 +31,7 @@ impl Route { /// `0..n`, either `a.uri[i]` is dynamic _or_ `b.uri[i]` is dynamic /// _or_ they're both static with the same value. /// - One URI has fewer segments _and_ ends with a trailing dynamic - /// parameter _and_ the preceeding segments in both routes match the + /// parameter _and_ the preceding segments in both routes match the /// conditions above. /// /// Collisions are symmetric: for any routes `a` and `b`, diff --git a/core/lib/src/router/matcher.rs b/core/lib/src/router/matcher.rs index 83d30c87..00c9dec3 100644 --- a/core/lib/src/router/matcher.rs +++ b/core/lib/src/router/matcher.rs @@ -74,7 +74,7 @@ impl Route { } impl Catcher { - /// Returns `true` if `self` matches errors with `status` that occured + /// Returns `true` if `self` matches errors with `status` that occurred /// during `request`. /// /// A [_match_](Catcher#routing) between a `Catcher` and a (`Status`,