aboutsummaryrefslogtreecommitdiff
path: root/src/util/str.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/str.rs')
-rw-r--r--src/util/str.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/util/str.rs b/src/util/str.rs
index c0f89f0..84604bc 100644
--- a/src/util/str.rs
+++ b/src/util/str.rs
@@ -7,8 +7,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
-use mac::{_tt_as_expr_hack, matches};
-
/// If `c` is an ASCII letter, return the corresponding lowercase
/// letter, otherwise None.
pub fn lower_ascii_letter(c: char) -> Option<char> {
@@ -28,7 +26,6 @@ pub fn is_ascii_alnum(c: char) -> bool {
#[allow(non_snake_case)]
mod test {
use super::{is_ascii_alnum, lower_ascii_letter};
- use mac::test_eq;
test_eq!(lower_letter_a_is_a, lower_ascii_letter('a'), Some('a'));
test_eq!(lower_letter_A_is_a, lower_ascii_letter('A'), Some('a'));