Skip to content

Commit

Permalink
Fix various docstring typos.
Browse files Browse the repository at this point in the history
  * unqiue -> unique
  * overriden -> overridden
  * sentinal -> sentinel
  • Loading branch information
drawdrop authored and SergioBenitez committed Aug 18, 2024
1 parent 2dba18d commit 76f72d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/codegen/src/syn_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
///
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/rocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions core/lib/src/sentinel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand All @@ -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
///
Expand Down

0 comments on commit 76f72d8

Please sign in to comment.