summaryrefslogtreecommitdiff
path: root/oryxc/src/unistr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'oryxc/src/unistr.rs')
-rw-r--r--oryxc/src/unistr.rs12
1 files changed, 8 insertions, 4 deletions
diff --git a/oryxc/src/unistr.rs b/oryxc/src/unistr.rs
index 9a204cf..60d2864 100644
--- a/oryxc/src/unistr.rs
+++ b/oryxc/src/unistr.rs
@@ -1,4 +1,8 @@
-use std::fmt::{self, Display, Formatter};
+use std::fmt::{
+ self,
+ Display,
+ Formatter,
+};
use std::hash::{
Hash,
Hasher,
@@ -15,9 +19,9 @@ use unicode_normalization::{
pub struct UniStr<'a>(pub &'a str);
impl Display for UniStr<'_> {
- fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), fmt::Error> {
- return self.0.fmt(f);
- }
+ fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), fmt::Error> {
+ return self.0.fmt(f);
+ }
}
impl Hash for UniStr<'_> {