fix unecessary reference/dereference

This commit is contained in:
Bennet Bleßmann
2025-07-31 21:31:34 +02:00
committed by Bennet Bleßmann
parent 72631b3e0b
commit ae3019d923
9 changed files with 16 additions and 16 deletions

View File

@@ -254,7 +254,7 @@ impl std::ops::Deref for AtomString<'_> {
fn deref(&self) -> &Self::Target {
match self {
Self::Static(reference) => reference,
Self::Inlined(inlined) => inlined_to_str(&inlined),
Self::Inlined(inlined) => inlined_to_str(inlined),
Self::Dynamic(guard) => guard.deref(),
}
}