File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ pub struct MutexGuard<'a, T: ?Sized + 'a> {
100
100
lock : & ' a Mutex < T > ,
101
101
}
102
102
103
- /// A [`MutexGuard`] is not `Send` to maximize platform portablity .
103
+ /// A [`MutexGuard`] is not `Send` to maximize platform portability .
104
104
///
105
105
/// On platforms that use POSIX threads (commonly referred to as pthreads) there is a requirement to
106
106
/// release mutex locks on the same thread they were acquired.
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ pub struct MutexGuard<'a, T: ?Sized + 'a> {
279
279
poison : poison:: Guard ,
280
280
}
281
281
282
- /// A [`MutexGuard`] is not `Send` to maximize platform portablity .
282
+ /// A [`MutexGuard`] is not `Send` to maximize platform portability .
283
283
///
284
284
/// On platforms that use POSIX threads (commonly referred to as pthreads) there is a requirement to
285
285
/// release mutex locks on the same thread they were acquired.
Original file line number Diff line number Diff line change 1
1
#![ allow( unsafe_op_in_unsafe_fn) ]
2
2
3
3
/// 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
5
5
/// outline-atomics.
6
6
mod configure_builtins;
7
7
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ pub(crate) mod system_time_internal {
188
188
Duration :: new ( epoch, t. nanosecond )
189
189
}
190
190
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:
192
192
/// https://howardhinnant.github.io/date_algorithms.html#clive_from_days
193
193
///
194
194
/// 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 {
197
197
// Check timzone validity
198
198
assert ! ( timezone <= 1440 && timezone >= -1440 ) ;
199
199
200
- // FIXME(#126043): use checked_sub_signed once stablized
200
+ // FIXME(#126043): use checked_sub_signed once stabilized
201
201
let secs =
202
202
dur. as_secs ( ) . checked_add_signed ( ( -timezone as i64 ) * SECS_IN_MINUTE as i64 ) . unwrap ( ) ;
203
203
You can’t perform that action at this time.
0 commit comments