mirror of https://github.com/rwf2/Rocket.git
chore: remove repetitive words
Signed-off-by: youngwendy <clonefetch@outlook.com>
This commit is contained in:
parent
60f3cd57b0
commit
949e594e93
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue