about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-08-18 19:16:15 +0000
committerbors <bors@rust-lang.org>2014-08-18 19:16:15 +0000
commit98ec85f19e42edafc3d82a737f0ccbd1b7f4ff6c (patch)
tree6d159da0fd6e2fb638ac02ab238cd85d808c73e7 /src/libstd/sync
parentfcbf012ee6c8719090caa6041e0ec1312e1b7659 (diff)
parent67deb2e65e150a1b9b2fcd457da47e3e13b2c4f7 (diff)
downloadrust-98ec85f19e42edafc3d82a737f0ccbd1b7f4ff6c.tar.gz
rust-98ec85f19e42edafc3d82a737f0ccbd1b7f4ff6c.zip
auto merge of #16575 : pcwalton/rust/import-foo-as-bar, r=aturon
of `use bar as foo`.

Change all uses of `use foo = bar` to `use bar as foo`.

Implements RFC #47.

Closes #16461.

[breaking-change]

r? @aturon
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/mod.rs b/src/libstd/sync/mod.rs
index c9526a64f46..8cfa1ebd598 100644
--- a/src/libstd/sync/mod.rs
+++ b/src/libstd/sync/mod.rs
@@ -27,7 +27,7 @@ pub use core_sync::{Semaphore, SemaphoreGuard};
 pub use core_sync::one::{Once, ONCE_INIT};
 
 #[deprecated = "use atomic instead"]
-pub use atomics = core_sync::atomic;
+pub use core_sync::atomic as atomics;
 
 pub use self::future::Future;
 pub use self::task_pool::TaskPool;