chore: remove repetitive words

Signed-off-by: youngwendy <clonefetch@outlook.com>
This commit is contained in:
youngwendy 2024-04-12 19:35:21 +08:00
parent 60f3cd57b0
commit 949e594e93
3 changed files with 4 additions and 4 deletions

View File

@ -564,7 +564,7 @@ pub fn launch(args: TokenStream, input: TokenStream) -> TokenStream {
/// ///
/// The attribute accepts a single string parameter of name `value` /// The attribute accepts a single string parameter of name `value`
/// corresponding to the string to use to match against for the decorated /// 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`. /// `"fiFTH"` and so on would parse as `MyValue::Third`.
/// ///
/// [`FromFormField`]: ../rocket/form/trait.FromFormField.html /// [`FromFormField`]: ../rocket/form/trait.FromFormField.html

View File

@ -14,7 +14,7 @@ use yansi::Paint;
/// ///
/// Catchers are routes that run when errors are produced by the application. /// 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 /// 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 guard.
/// * A failing responder. /// * A failing responder.
@ -218,7 +218,7 @@ impl Catcher {
/// Prefix `base` to the current `base` in `self.` /// 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`. /// Otherwise, `base` is prefixed to the existing `base`.
/// ///
/// ```rust /// ```rust

View File

@ -258,7 +258,7 @@ impl Route {
/// Prefix `base` to any existing mount point base in `self`. /// 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`. /// `base`. Otherwise, `base` is prefixed to the existing `base`.
/// ///
/// ```rust /// ```rust