Skip to content

Commit 278bbd9

Browse files
committed
---
yaml --- r: 145944 b: refs/heads/try2 c: 3a2735c h: refs/heads/master v: v3
1 parent c3e8823 commit 278bbd9

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 179f50f7c8a4071eb4e28e5b812106d6a3c148c7
8+
refs/heads/try2: 3a2735cb11efc997aa02646c13c008a883de6792
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/libstd/path2/mod.rs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,38 +21,38 @@ use vec;
2121
use vec::{CopyableVector, OwnedCopyableVector, OwnedVector};
2222
use vec::{ImmutableEqVector, ImmutableVector};
2323

24-
pub mod posix;
25-
pub mod windows;
26-
2724
/// Typedef for POSIX file paths.
2825
/// See `posix::Path` for more info.
29-
pub type PosixPath = posix::Path;
26+
pub use PosixPath = self::posix::Path;
3027

3128
/// Typedef for Windows file paths.
3229
/// See `windows::Path` for more info.
33-
pub type WindowsPath = windows::Path;
30+
pub use WindowsPath = self::windows::Path;
3431

3532
/// Typedef for the platform-native path type
3633
#[cfg(unix)]
37-
pub type Path = PosixPath;
34+
pub use Path = self::posix::Path;
3835
/// Typedef for the platform-native path type
3936
#[cfg(windows)]
40-
pub type Path = WindowsPath;
37+
pub use Path = self::windows::Path;
4138

4239
/// Typedef for the POSIX path component iterator.
4340
/// See `posix::ComponentIter` for more info.
44-
pub type PosixComponentIter<'self> = posix::ComponentIter<'self>;
41+
pub use PosixComponentIter = self::posix::ComponentIter;
4542

46-
// /// Typedef for the Windows path component iterator.
47-
// /// See `windows::ComponentIter` for more info.
48-
// pub type WindowsComponentIter<'self> = windows::ComponentIter<'self>;
43+
/// Typedef for the Windows path component iterator.
44+
/// See `windows::ComponentIter` for more info.
45+
pub use WindowsComponentIter = self::windows::ComponentIter;
4946

5047
/// Typedef for the platform-native component iterator
5148
#[cfg(unix)]
52-
pub type ComponentIter<'self> = PosixComponentIter<'self>;
53-
// /// Typedef for the platform-native component iterator
54-
//#[cfg(windows)]
55-
//pub type ComponentIter<'self> = WindowsComponentIter<'self>;
49+
pub use ComponentIter = self::posix::ComponentIter;
50+
/// Typedef for the platform-native component iterator
51+
#[cfg(windows)]
52+
pub use ComponentIter = self::windows::ComponentIter;
53+
54+
pub mod posix;
55+
pub mod windows;
5656

5757
// Condition that is raised when a NUL is found in a byte vector given to a Path function
5858
condition! {

0 commit comments

Comments
 (0)