Fix various docstring typos.

* unqiue -> unique
  * overriden -> overridden
  * sentinal -> sentinel
This commit is contained in:
drawdrop 2024-08-12 23:02:39 +08:00 committed by Sergio Benitez
parent 2dba18d6f2
commit 7fdcf2d1ed
3 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,7 @@ impl IdentExt for syn::Ident {
self.prepend(crate::ROCKET_IDENT_PREFIX)
}
/// Create a unqiue version of the ident `self` based on the hash of `self`,
/// Create a unique version of the ident `self` based on the hash of `self`,
/// its span, the current call site, and any additional information provided
/// by the closure `f`.
///

View File

@ -193,7 +193,7 @@ impl Rocket<Build> {
/// Overrides the current configuration provider with `provider`.
///
/// The default provider, or a provider previously set with
/// [`Rocket::custom()`] or [`Rocket::reconfigure()`], is overriden by
/// [`Rocket::custom()`] or [`Rocket::reconfigure()`], is overridden by
/// `provider`.
///
/// # Example

View File

@ -353,7 +353,7 @@ pub struct Sentry {
}
impl Sentry {
/// Returns the type ID of the resolved sentinal type.
/// Returns the type ID of the resolved sentinel type.
///
/// # Example
///
@ -368,7 +368,7 @@ impl Sentry {
self.type_id
}
/// Returns the type name of the resolved sentinal type.
/// Returns the type name of the resolved sentinel type.
///
/// # Example
///