File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ use std::ptr;
9
9
use std:: sync:: atomic:: { AtomicBool , Ordering } ;
10
10
11
11
// This file contains an implementation of an OnceCell. The principle
12
- // behind the safety the of the cell is that any thread with an `&OnceCell` may
12
+ // behind the safety of the cell is that any thread with an `&OnceCell` may
13
13
// access the `value` field according the following rules:
14
14
//
15
15
// 1. When `value_set` is false, the `value` field may be modified by the
@@ -179,8 +179,8 @@ impl<T> OnceCell<T> {
179
179
///
180
180
/// [`OnceCell::new`]: crate::sync::OnceCell::new
181
181
// Once https://github.com/rust-lang/rust/issues/73255 lands
182
- // and tokio MSRV is bumped to the rustc version with it stablised ,
183
- // we can made this function available in const context,
182
+ // and tokio MSRV is bumped to the rustc version with it stabilised ,
183
+ // we can make this function available in const context,
184
184
// by creating `Semaphore::const_new_closed`.
185
185
pub fn new_with ( value : Option < T > ) -> Self {
186
186
if let Some ( v) = value {
You can’t perform that action at this time.
0 commit comments