diff options
| author | Kiet Tran <ktt3ja@gmail.com> | 2013-12-08 02:55:28 -0500 |
|---|---|---|
| committer | Kiet Tran <ktt3ja@gmail.com> | 2013-12-08 02:55:28 -0500 |
| commit | 1755408d1a58684b6c9bce11aeceb18a1ec2d66e (patch) | |
| tree | 9d781272021fe4ead382ffc8f87c048f194e25b5 /src/libstd/path | |
| parent | c06dd0e0afb4b78ab4e482a7488adcf1c865bd19 (diff) | |
| download | rust-1755408d1a58684b6c9bce11aeceb18a1ec2d66e.tar.gz rust-1755408d1a58684b6c9bce11aeceb18a1ec2d66e.zip | |
Remove dead codes
Diffstat (limited to 'src/libstd/path')
| -rw-r--r-- | src/libstd/path/windows.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstd/path/windows.rs b/src/libstd/path/windows.rs index cc2af54fd10..b7a0d685f12 100644 --- a/src/libstd/path/windows.rs +++ b/src/libstd/path/windows.rs @@ -1049,11 +1049,6 @@ fn prefix_len(p: Option<PathPrefix>) -> uint { } } -fn prefix_is_sep(p: Option<PathPrefix>, c: u8) -> bool { - c.is_ascii() && if !prefix_is_verbatim(p) { is_sep(c as char) } - else { is_sep_verbatim(c as char) } -} - #[cfg(test)] mod tests { use super::*; |
