We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 934cb05 commit 23fdc2bCopy full SHA for 23fdc2b
core/src/avm2/names.rs
@@ -224,7 +224,7 @@ impl<'gc> QName<'gc> {
224
pub fn to_qualified_name(self, mc: MutationContext<'gc, '_>) -> AvmString<'gc> {
225
let uri = self.namespace().as_uri();
226
let name = self.local_name();
227
- uri.is_empty().then(|| name).unwrap_or_else(|| {
+ uri.is_empty().then_some(name).unwrap_or_else(|| {
228
let mut buf = WString::from(uri.as_wstr());
229
buf.push_str(WStr::from_units(b"::"));
230
buf.push_str(&name);
0 commit comments