From 7a55d32c48a2fbb1a34cf36f5ae02417b0139480 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 30 Mar 2026 22:53:52 +0200 Subject: Formatting --- oryxc/src/unistr.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'oryxc/src/unistr.rs') 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<'_> { -- cgit v1.2.3