Appease clippy again

This commit is contained in:
Lord-McSweeney 2023-02-01 16:15:30 -08:00 committed by Nathan Adams
parent 83087f9f23
commit a369e71af6
1 changed files with 10 additions and 2 deletions

View File

@ -1083,7 +1083,11 @@ pub fn opaque_background<'gc>(
_this: Option<Object<'gc>>, _this: Option<Object<'gc>>,
_args: &[Value<'gc>], _args: &[Value<'gc>],
) -> Result<Value<'gc>, Error<'gc>> { ) -> Result<Value<'gc>, Error<'gc>> {
avm2_stub_getter!(activation, "flash.display.DisplayObject", "opaqueBackground"); avm2_stub_getter!(
activation,
"flash.display.DisplayObject",
"opaqueBackground"
);
Ok(Value::Null) Ok(Value::Null)
} }
@ -1093,7 +1097,11 @@ pub fn set_opaque_background<'gc>(
_this: Option<Object<'gc>>, _this: Option<Object<'gc>>,
_args: &[Value<'gc>], _args: &[Value<'gc>],
) -> Result<Value<'gc>, Error<'gc>> { ) -> Result<Value<'gc>, Error<'gc>> {
avm2_stub_setter!(activation, "flash.display.DisplayObject", "opaqueBackground"); avm2_stub_setter!(
activation,
"flash.display.DisplayObject",
"opaqueBackground"
);
Ok(Value::Undefined) Ok(Value::Undefined)
} }