diff options
| author | bors <bors@rust-lang.org> | 2014-08-18 19:16:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-08-18 19:16:15 +0000 |
| commit | 98ec85f19e42edafc3d82a737f0ccbd1b7f4ff6c (patch) | |
| tree | 6d159da0fd6e2fb638ac02ab238cd85d808c73e7 /src/libstd/path | |
| parent | fcbf012ee6c8719090caa6041e0ec1312e1b7659 (diff) | |
| parent | 67deb2e65e150a1b9b2fcd457da47e3e13b2c4f7 (diff) | |
| download | rust-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/path')
| -rw-r--r-- | src/libstd/path/mod.rs | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/libstd/path/mod.rs b/src/libstd/path/mod.rs index d24c2e2266d..38d04324fe4 100644 --- a/src/libstd/path/mod.rs +++ b/src/libstd/path/mod.rs @@ -80,59 +80,59 @@ use vec::Vec; /// Typedef for POSIX file paths. /// See `posix::Path` for more info. -pub use PosixPath = self::posix::Path; +pub use self::posix::Path as PosixPath; /// Typedef for Windows file paths. /// See `windows::Path` for more info. -pub use WindowsPath = self::windows::Path; +pub use self::windows::Path as WindowsPath; /// Typedef for the platform-native path type #[cfg(unix)] -pub use Path = self::posix::Path; +pub use self::posix::Path as Path; /// Typedef for the platform-native path type #[cfg(windows)] -pub use Path = self::windows::Path; +pub use self::windows::Path as Path; /// Typedef for the platform-native component iterator #[cfg(unix)] -pub use Components = self::posix::Components; +pub use self::posix::Components as Components; /// Typedef for the platform-native component iterator #[cfg(windows)] -pub use Components = self::windows::Components; +pub use self::windows::Components as Components; /// Typedef for the platform-native str component iterator #[cfg(unix)] -pub use StrComponents = self::posix::StrComponents; +pub use self::posix::StrComponents as StrComponents; /// Typedef for the platform-native str component iterator #[cfg(windows)] -pub use StrComponents = self::windows::StrComponents; +pub use self::windows::StrComponents as StrComponents; /// Alias for the platform-native separator character. #[cfg(unix)] -pub use SEP = self::posix::SEP; +pub use self::posix::SEP as SEP; /// Alias for the platform-native separator character. #[cfg(windows)] -pub use SEP = self::windows::SEP; +pub use self::windows::SEP as SEP; /// Alias for the platform-native separator byte. #[cfg(unix)] -pub use SEP_BYTE = self::posix::SEP_BYTE; +pub use self::posix::SEP_BYTE as SEP_BYTE; /// Alias for the platform-native separator byte. #[cfg(windows)] -pub use SEP_BYTE = self::windows::SEP_BYTE; +pub use self::windows::SEP_BYTE as SEP_BYTE; /// Typedef for the platform-native separator char func #[cfg(unix)] -pub use is_sep = self::posix::is_sep; +pub use self::posix::is_sep as is_sep; /// Typedef for the platform-native separator char func #[cfg(windows)] -pub use is_sep = self::windows::is_sep; +pub use self::windows::is_sep as is_sep; /// Typedef for the platform-native separator byte func #[cfg(unix)] -pub use is_sep_byte = self::posix::is_sep_byte; +pub use self::posix::is_sep_byte as is_sep_byte; /// Typedef for the platform-native separator byte func #[cfg(windows)] -pub use is_sep_byte = self::windows::is_sep_byte; +pub use self::windows::is_sep_byte as is_sep_byte; pub mod posix; pub mod windows; |
