about summary refs log tree commit diff
path: root/src/libstd/path
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2014-12-13 11:15:18 -0500
committerAlex Crichton <alex@alexcrichton.com>2014-12-21 09:26:41 -0800
commit98af642f5c8f60ae141a5d3ff92e8cc4e4317342 (patch)
tree8dfc6b932d9322856e8297bfcb1c409f4a11c62e /src/libstd/path
parentc141f223d4fd4d8c8be8649877e08ddceaa43783 (diff)
downloadrust-98af642f5c8f60ae141a5d3ff92e8cc4e4317342.tar.gz
rust-98af642f5c8f60ae141a5d3ff92e8cc4e4317342.zip
Remove a ton of public reexports
Remove most of the public reexports mentioned in #19253

These are all leftovers from the enum namespacing transition

In particular:

* src/libstd/num/strconv.rs
 * ExponentFormat
 * SignificantDigits
 * SignFormat
* src/libstd/path/windows.rs
 * PathPrefix
* src/libstd/sys/windows/timer.rs
 * Req
* src/libcollections/str.rs
 * MaybeOwned
* src/libstd/collections/hash/map.rs
 * Entry
* src/libstd/collections/hash/table.rs
 * BucketState
* src/libstd/dynamic_lib.rs
 * Rtld
* src/libstd/io/net/ip.rs
 * IpAddr
* src/libstd/os.rs
 * MemoryMapKind
 * MapOption
 * MapError
* src/libstd/sys/common/net.rs
 * SocketStatus
 * InAddr
* src/libstd/sys/unix/timer.rs
 * Req

[breaking-change]
Diffstat (limited to 'src/libstd/path')
-rw-r--r--src/libstd/path/windows.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/path/windows.rs b/src/libstd/path/windows.rs
index b498b3e8ad0..c2c17103554 100644
--- a/src/libstd/path/windows.rs
+++ b/src/libstd/path/windows.rs
@@ -12,7 +12,7 @@
 
 //! Windows file path handling
 
-pub use self::PathPrefix::*;
+use self::PathPrefix::*;
 
 use ascii::AsciiCast;
 use c_str::{CString, ToCStr};
@@ -1117,6 +1117,7 @@ fn prefix_len(p: Option<PathPrefix>) -> uint {
 mod tests {
     use prelude::*;
     use super::*;
+    use super::PathPrefix::*;
     use super::parse_prefix;
 
     macro_rules! t {