summary refs log tree commit diff
path: root/src/libstd/path
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2014-02-27 00:19:27 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-27 21:04:04 -0800
commitaf38726d8e5f9d0cdd6167d0d918bf86138833ce (patch)
tree43b0478c4a901beb8d5cf41b27a4da78b5fc22a6 /src/libstd/path
parent498a6060ef949f303bdc7d5fc5ef4de88ce0d3ed (diff)
downloadrust-af38726d8e5f9d0cdd6167d0d918bf86138833ce.tar.gz
rust-af38726d8e5f9d0cdd6167d0d918bf86138833ce.zip
path: clean up some lint warnings and an obsolete comment
Get rid of the unnecessary parenthesies that crept into some macros.
Remove a FIXME that was already fixed.
Fix a comment that wasn't rendering correctly in rustdoc.
Diffstat (limited to 'src/libstd/path')
-rw-r--r--src/libstd/path/windows.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/path/windows.rs b/src/libstd/path/windows.rs
index 10834aec64c..bf437875b84 100644
--- a/src/libstd/path/windows.rs
+++ b/src/libstd/path/windows.rs
@@ -865,7 +865,7 @@ pub fn prefix(path: &Path) -> Option<PathPrefix> {
     path.prefix
 }
 
-/// Returns whether the Path's prefix is a verbatim prefix, i.e. \\?\
+/// Returns whether the Path's prefix is a verbatim prefix, i.e. `\\?\`
 #[inline]
 pub fn is_verbatim(path: &Path) -> bool {
     prefix_is_verbatim(path.prefix)
@@ -926,7 +926,6 @@ pub enum PathPrefix {
     DiskPrefix
 }
 
-// FIXME (#8169): Make private once visibility is fixed
 fn parse_prefix<'a>(mut path: &'a str) -> Option<PathPrefix> {
     if path.starts_with("\\\\") {
         // \\