From c37a345dc9f4dda6ea29c42f96f6c7201c42cbac Mon Sep 17 00:00:00 2001 From: chansuke Date: Tue, 18 Sep 2018 23:24:15 +0900 Subject: Format script component --- components/script/dom/macros.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'components/script/dom/macros.rs') diff --git a/components/script/dom/macros.rs b/components/script/dom/macros.rs index 5362b09214e..601426b91ea 100644 --- a/components/script/dom/macros.rs +++ b/components/script/dom/macros.rs @@ -573,7 +573,7 @@ macro_rules! rooted_vec { (let mut $name:ident <- $iter:expr) => { let mut root = $crate::dom::bindings::trace::RootableVec::new_unrooted(); let mut $name = $crate::dom::bindings::trace::RootedVec::from_iter(&mut root, $iter); - } + }; } /// DOM struct implementation for simple interfaces inheriting from PerformanceEntry. @@ -622,11 +622,10 @@ macro_rules! handle_potential_webgl_error { Err(error) => { $context.webgl_error(error); $return_on_error - } + }, } }; ($context:expr, $call:expr) => { handle_potential_webgl_error!($context, $call, ()); }; } - -- cgit v1.2.3