diff options
| author | athulappadan <a4athulappadan@gmail.com> | 2016-09-11 22:58:01 +0530 |
|---|---|---|
| committer | athulappadan <a4athulappadan@gmail.com> | 2016-09-11 22:58:01 +0530 |
| commit | 41881e85bd832127f2a6eee5821eaae353dea281 (patch) | |
| tree | 730da8b3d9bd50eec2c578ae76e9eca931942bb5 /src/libcore/sync | |
| parent | 49e77dbf25ed6526fb5d37c32e55797fb04522f0 (diff) | |
| download | rust-41881e85bd832127f2a6eee5821eaae353dea281.tar.gz rust-41881e85bd832127f2a6eee5821eaae353dea281.zip | |
Documentation for default types modified
Diffstat (limited to 'src/libcore/sync')
| -rw-r--r-- | src/libcore/sync/atomic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs index a5efda702df..f5f37be52de 100644 --- a/src/libcore/sync/atomic.rs +++ b/src/libcore/sync/atomic.rs @@ -118,7 +118,7 @@ pub struct AtomicPtr<T> { #[cfg(target_has_atomic = "ptr")] #[stable(feature = "rust1", since = "1.0.0")] impl<T> Default for AtomicPtr<T> { - /// Creates an `AtomicPtr<T>` with an initial mutable null pointer. + /// Creates a null `AtomicPtr<T>`. fn default() -> AtomicPtr<T> { AtomicPtr::new(::ptr::null_mut()) } |
