Skip to content

Commit 7fdcf2d

Browse files
drawdropSergioBenitez
authored andcommitted
Fix various docstring typos.
* unqiue -> unique * overriden -> overridden * sentinal -> sentinel
1 parent 2dba18d commit 7fdcf2d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

core/codegen/src/syn_ext.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl IdentExt for syn::Ident {
8080
self.prepend(crate::ROCKET_IDENT_PREFIX)
8181
}
8282

83-
/// Create a unqiue version of the ident `self` based on the hash of `self`,
83+
/// Create a unique version of the ident `self` based on the hash of `self`,
8484
/// its span, the current call site, and any additional information provided
8585
/// by the closure `f`.
8686
///

core/lib/src/rocket.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ impl Rocket<Build> {
193193
/// Overrides the current configuration provider with `provider`.
194194
///
195195
/// The default provider, or a provider previously set with
196-
/// [`Rocket::custom()`] or [`Rocket::reconfigure()`], is overriden by
196+
/// [`Rocket::custom()`] or [`Rocket::reconfigure()`], is overridden by
197197
/// `provider`.
198198
///
199199
/// # Example

core/lib/src/sentinel.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ pub struct Sentry {
353353
}
354354

355355
impl Sentry {
356-
/// Returns the type ID of the resolved sentinal type.
356+
/// Returns the type ID of the resolved sentinel type.
357357
///
358358
/// # Example
359359
///
@@ -368,7 +368,7 @@ impl Sentry {
368368
self.type_id
369369
}
370370

371-
/// Returns the type name of the resolved sentinal type.
371+
/// Returns the type name of the resolved sentinel type.
372372
///
373373
/// # Example
374374
///

0 commit comments

Comments
 (0)