Skip to content

Commit 23fdc2b

Browse files
committed
chore: Appease clippy
1 parent 934cb05 commit 23fdc2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/avm2/names.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ impl<'gc> QName<'gc> {
224224
pub fn to_qualified_name(self, mc: MutationContext<'gc, '_>) -> AvmString<'gc> {
225225
let uri = self.namespace().as_uri();
226226
let name = self.local_name();
227-
uri.is_empty().then(|| name).unwrap_or_else(|| {
227+
uri.is_empty().then_some(name).unwrap_or_else(|| {
228228
let mut buf = WString::from(uri.as_wstr());
229229
buf.push_str(WStr::from_units(b"::"));
230230
buf.push_str(&name);

0 commit comments

Comments
 (0)