diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2026-03-30 22:53:52 +0200 |
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2026-03-30 22:53:52 +0200 |
| commit | 7a55d32c48a2fbb1a34cf36f5ae02417b0139480 (patch) | |
| tree | 6a2c83e81fcc1c29a1e37c486016fc904fcd8ddc /oryxc/src/unistr.rs | |
| parent | bc548238b9dd1d15ddf0af8731d356a0ca6a61ad (diff) | |
Formatting
Diffstat (limited to 'oryxc/src/unistr.rs')
| -rw-r--r-- | oryxc/src/unistr.rs | 12 |
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<'_> { |