about summary refs log tree commit diff
path: root/library/core/src/str/validations.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src/str/validations.rs')
-rw-r--r--library/core/src/str/validations.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/core/src/str/validations.rs b/library/core/src/str/validations.rs
index a11d7fee8af..cca8ff74dda 100644
--- a/library/core/src/str/validations.rs
+++ b/library/core/src/str/validations.rs
@@ -1,8 +1,7 @@
 //! Operations related to UTF-8 validation.
 
-use crate::mem;
-
 use super::Utf8Error;
+use crate::mem;
 
 /// Returns the initial codepoint accumulator for the first byte.
 /// The first byte is special, only want bottom 5 bits for width 2, 4 bits