chore: Run rustfmt
This commit is contained in:
parent
890dc0ea13
commit
3a0af11e34
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
use crate::avm1::activation::Activation;
|
use crate::avm1::activation::Activation;
|
||||||
use crate::avm1::error::Error;
|
use crate::avm1::error::Error;
|
||||||
use crate::avm1::property::Attribute::*;
|
|
||||||
use crate::avm1::object::TObject;
|
use crate::avm1::object::TObject;
|
||||||
|
use crate::avm1::property::Attribute::*;
|
||||||
use crate::avm1::{Object, ScriptObject, UpdateContext, Value};
|
use crate::avm1::{Object, ScriptObject, UpdateContext, Value};
|
||||||
use gc_arena::MutationContext;
|
use gc_arena::MutationContext;
|
||||||
|
|
||||||
|
@ -93,7 +93,6 @@ pub fn broadcast_message<'gc>(
|
||||||
Ok(Value::Undefined)
|
Ok(Value::Undefined)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pub fn initialize<'gc>(
|
pub fn initialize<'gc>(
|
||||||
activation: &mut Activation<'_, 'gc>,
|
activation: &mut Activation<'_, 'gc>,
|
||||||
context: &mut UpdateContext<'_, 'gc, '_>,
|
context: &mut UpdateContext<'_, 'gc, '_>,
|
||||||
|
@ -110,7 +109,7 @@ pub fn initialize<'gc>(
|
||||||
context.gc_context,
|
context.gc_context,
|
||||||
"_listeners",
|
"_listeners",
|
||||||
Value::Object(listeners.into()),
|
Value::Object(listeners.into()),
|
||||||
DontEnum.into()
|
DontEnum.into(),
|
||||||
);
|
);
|
||||||
|
|
||||||
if let Some(mut broadcaster_script_obj) = broadcaster.as_script_object() {
|
if let Some(mut broadcaster_script_obj) = broadcaster.as_script_object() {
|
||||||
|
|
Loading…
Reference in New Issue