Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some comments #2845

Merged
merged 1 commit into from
Aug 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading