Skip to content

Commit b682e04

Browse files
authored
Rollup merge of rust-lang#145025 - lolbinarycat:ci-tidy-spellcheck, r=Kobzol
run spellcheck as a tidy extra check in ci This is probably how it should've been done from the start. r? ``@Kobzol``
2 parents 663bbcc + 4f7261a commit b682e04

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

std/src/sync/nonpoison/mutex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub struct MutexGuard<'a, T: ?Sized + 'a> {
100100
lock: &'a Mutex<T>,
101101
}
102102

103-
/// A [`MutexGuard`] is not `Send` to maximize platform portablity.
103+
/// A [`MutexGuard`] is not `Send` to maximize platform portability.
104104
///
105105
/// On platforms that use POSIX threads (commonly referred to as pthreads) there is a requirement to
106106
/// release mutex locks on the same thread they were acquired.

std/src/sync/poison/mutex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ pub struct MutexGuard<'a, T: ?Sized + 'a> {
279279
poison: poison::Guard,
280280
}
281281

282-
/// A [`MutexGuard`] is not `Send` to maximize platform portablity.
282+
/// A [`MutexGuard`] is not `Send` to maximize platform portability.
283283
///
284284
/// On platforms that use POSIX threads (commonly referred to as pthreads) there is a requirement to
285285
/// release mutex locks on the same thread they were acquired.

std/src/sys/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![allow(unsafe_op_in_unsafe_fn)]
22

33
/// The configure builtins provides runtime support compiler-builtin features
4-
/// which require dynamic intialization to work as expected, e.g. aarch64
4+
/// which require dynamic initialization to work as expected, e.g. aarch64
55
/// outline-atomics.
66
mod configure_builtins;
77

std/src/sys/pal/uefi/time.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ pub(crate) mod system_time_internal {
188188
Duration::new(epoch, t.nanosecond)
189189
}
190190

191-
/// This algorithm is a modifed version of the one described in the post:
191+
/// This algorithm is a modified version of the one described in the post:
192192
/// https://howardhinnant.github.io/date_algorithms.html#clive_from_days
193193
///
194194
/// The changes are to use 1900-01-01-00:00:00 with timezone -1440 as anchor instead of UNIX
@@ -197,7 +197,7 @@ pub(crate) mod system_time_internal {
197197
// Check timzone validity
198198
assert!(timezone <= 1440 && timezone >= -1440);
199199

200-
// FIXME(#126043): use checked_sub_signed once stablized
200+
// FIXME(#126043): use checked_sub_signed once stabilized
201201
let secs =
202202
dur.as_secs().checked_add_signed((-timezone as i64) * SECS_IN_MINUTE as i64).unwrap();
203203

0 commit comments

Comments
 (0)