Skip to content

Commit 060b270

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 15f45d7 commit 060b270

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
@@ -171,15 +171,6 @@ impl PartialEq<AsciiStr> for str {
171171
}
172172
}
173173

174-
/*
175-
impl PartialOrd<AsciiString> for AsciiStr {
176-
#[inline]
177-
fn partial_cmp(&self, other: &AsciiString) -> Option<Ordering> {
178-
self.as_bytes().partial_cmp(other.as_bytes())
179-
}
180-
}
181-
*/
182-
183174
impl Default for &'static AsciiStr {
184175
fn default() -> &'static AsciiStr {
185176
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)