diff options
| author | Kevin Ballard <kevin@sb.org> | 2014-01-17 23:07:53 -0800 |
|---|---|---|
| committer | Kevin Ballard <kevin@sb.org> | 2014-01-17 23:07:53 -0800 |
| commit | b3c93b34f3fa81e9e2ade0cd05e0516faa7150ae (patch) | |
| tree | b5b73ff53ada67fd84ed055c3a7446a9a18f6361 /src/libstd/path/mod.rs | |
| parent | f4498c71e21308f6657d0150d5f473835e4b436f (diff) | |
| download | rust-b3c93b34f3fa81e9e2ade0cd05e0516faa7150ae.tar.gz rust-b3c93b34f3fa81e9e2ade0cd05e0516faa7150ae.zip | |
Make WindowsPath::new("C:foo").root_path() return Some("C:")
Diffstat (limited to 'src/libstd/path/mod.rs')
| -rw-r--r-- | src/libstd/path/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/path/mod.rs b/src/libstd/path/mod.rs index 354cc10f022..dd245ec4f1a 100644 --- a/src/libstd/path/mod.rs +++ b/src/libstd/path/mod.rs @@ -386,7 +386,7 @@ pub trait GenericPath: Clone + GenericPathUnsafe { /// Returns a Path that represents the filesystem root that `self` is rooted in. /// - /// If `self` is not absolute, or vol-relative in the case of Windows, this returns None. + /// If `self` is not absolute, or vol/cwd-relative in the case of Windows, this returns None. fn root_path(&self) -> Option<Self>; /// Pushes a path (as a byte vector or string) onto `self`. |
