diff --git a/core/codegen/src/lib.rs b/core/codegen/src/lib.rs index 8dda9388..273f1b9e 100644 --- a/core/codegen/src/lib.rs +++ b/core/codegen/src/lib.rs @@ -564,7 +564,7 @@ pub fn launch(args: TokenStream, input: TokenStream) -> TokenStream { /// /// The attribute accepts a single string parameter of name `value` /// corresponding to the string to use to match against for the decorated -/// variant. In the example above, the the strings `"fourth"`, `"FOUrth"`, +/// variant. In the example above, the strings `"fourth"`, `"FOUrth"`, /// `"fiFTH"` and so on would parse as `MyValue::Third`. /// /// [`FromFormField`]: ../rocket/form/trait.FromFormField.html diff --git a/core/lib/src/catcher/catcher.rs b/core/lib/src/catcher/catcher.rs index de996205..3337c609 100644 --- a/core/lib/src/catcher/catcher.rs +++ b/core/lib/src/catcher/catcher.rs @@ -14,7 +14,7 @@ use yansi::Paint; /// /// Catchers are routes that run when errors are produced by the application. /// They consist of a [`Handler`] and an optional status code to match against -/// arising errors. Errors arise from the the following sources: +/// arising errors. Errors arise from the following sources: /// /// * A failing guard. /// * A failing responder. @@ -218,7 +218,7 @@ impl Catcher { /// Prefix `base` to the current `base` in `self.` /// - /// If the the current base is `/`, then the base is replaced by `base`. + /// If the current base is `/`, then the base is replaced by `base`. /// Otherwise, `base` is prefixed to the existing `base`. /// /// ```rust diff --git a/core/lib/src/route/route.rs b/core/lib/src/route/route.rs index e78275b9..bf8679f1 100644 --- a/core/lib/src/route/route.rs +++ b/core/lib/src/route/route.rs @@ -258,7 +258,7 @@ impl Route { /// Prefix `base` to any existing mount point base in `self`. /// - /// If the the current mount point base is `/`, then the base is replaced by + /// If the current mount point base is `/`, then the base is replaced by /// `base`. Otherwise, `base` is prefixed to the existing `base`. /// /// ```rust