mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-06 04:08:40 +00:00
fix typos
This commit is contained in:
parent
fe36876ce1
commit
a638580c08
@ -95,7 +95,7 @@ pub struct AtomicBool {
|
|||||||
#[cfg(target_has_atomic = "8")]
|
#[cfg(target_has_atomic = "8")]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
impl Default for AtomicBool {
|
impl Default for AtomicBool {
|
||||||
/// Creates an `AtomicBool` initialised as false.
|
/// Creates an `AtomicBool` initialized to `false`.
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self::new(false)
|
Self::new(false)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user