about summary refs log tree commit diff
path: root/src/libunicode
diff options
context:
space:
mode:
Diffstat (limited to 'src/libunicode')
-rw-r--r--src/libunicode/u_str.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libunicode/u_str.rs b/src/libunicode/u_str.rs
index 2e656a5a420..262721bd636 100644
--- a/src/libunicode/u_str.rs
+++ b/src/libunicode/u_str.rs
@@ -225,7 +225,7 @@ impl<'a> Iterator<&'a str> for Graphemes<'a> {
 
     #[inline]
     fn next(&mut self) -> Option<&'a str> {
-        use gr = tables::grapheme;
+        use tables::grapheme as gr;
         if self.string.len() == 0 {
             return None;
         }
@@ -325,7 +325,7 @@ impl<'a> Iterator<&'a str> for Graphemes<'a> {
 impl<'a> DoubleEndedIterator<&'a str> for Graphemes<'a> {
     #[inline]
     fn next_back(&mut self) -> Option<&'a str> {
-        use gr = tables::grapheme;
+        use tables::grapheme as gr;
         if self.string.len() == 0 {
             return None;
         }