about summary refs log tree commit diff
path: root/src/libstd/sys/unix/weak.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/sys/unix/weak.rs')
-rw-r--r--src/libstd/sys/unix/weak.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libstd/sys/unix/weak.rs b/src/libstd/sys/unix/weak.rs
index 9a7691e54bc..08cbe596174 100644
--- a/src/libstd/sys/unix/weak.rs
+++ b/src/libstd/sys/unix/weak.rs
@@ -36,11 +36,7 @@ pub struct Weak<F> {
 
 impl<F> Weak<F> {
     pub const fn new(name: &'static str) -> Weak<F> {
-        Weak {
-            name,
-            addr: AtomicUsize::new(1),
-            _marker: marker::PhantomData,
-        }
+        Weak { name, addr: AtomicUsize::new(1), _marker: marker::PhantomData }
     }
 
     pub fn get(&self) -> Option<F> {