mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Rustfmt has changed its default style :/
This commit is contained in:
parent
82fc6d9f49
commit
be69f9c3e6
207 changed files with 1200 additions and 1339 deletions
|
@ -583,14 +583,12 @@ impl TaskOnce for MessageReceivedTask {
|
|||
},
|
||||
BinaryType::Arraybuffer => {
|
||||
rooted!(in(cx) let mut array_buffer = ptr::null_mut::<JSObject>());
|
||||
assert!(
|
||||
ArrayBuffer::create(
|
||||
cx,
|
||||
CreateWith::Slice(&data),
|
||||
array_buffer.handle_mut()
|
||||
)
|
||||
.is_ok()
|
||||
);
|
||||
assert!(ArrayBuffer::create(
|
||||
cx,
|
||||
CreateWith::Slice(&data),
|
||||
array_buffer.handle_mut()
|
||||
)
|
||||
.is_ok());
|
||||
|
||||
(*array_buffer).to_jsval(cx, message.handle_mut());
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue