Skip to content

Commit 1de1a93

Browse files
committed
Remove commented out code and a fixed FIXME
The [issue it refers to](rust-lang/rust#15679) was closed a year ago.
1 parent fdd8436 commit 1de1a93

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/ascii_str.rs

-9
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,6 @@ impl PartialEq<AsciiStr> for str {
169169
}
170170
}
171171

172-
/*
173-
impl PartialOrd<AsciiString> for AsciiStr {
174-
#[inline]
175-
fn partial_cmp(&self, other: &AsciiString) -> Option<Ordering> {
176-
self.as_bytes().partial_cmp(other.as_bytes())
177-
}
178-
}
179-
*/
180-
181172
impl Default for &'static AsciiStr {
182173
fn default() -> &'static AsciiStr {
183174
unsafe { mem::transmute("") }

src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10-
//
11-
// ignore-lexer-test FIXME #15679
1210

1311
//! Operations on ASCII strings and characters
1412

0 commit comments

Comments
 (0)