Skip to content

Commit 7f64b04

Browse files
committed
---
yaml --- r: 83127 b: refs/heads/auto c: 3a2735c h: refs/heads/master i: 83125: 0c60760 83123: 441ae3d 83119: 9dcdafe v: v3
1 parent e180875 commit 7f64b04

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
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: 179f50f7c8a4071eb4e28e5b812106d6a3c148c7
16+
refs/heads/auto: 3a2735cb11efc997aa02646c13c008a883de6792
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/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)