diff options
Diffstat (limited to 'components/script/dom/filereadersync.rs')
-rw-r--r-- | components/script/dom/filereadersync.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/script/dom/filereadersync.rs b/components/script/dom/filereadersync.rs index 0f74ed504bd..d92a161759b 100644 --- a/components/script/dom/filereadersync.rs +++ b/components/script/dom/filereadersync.rs @@ -36,7 +36,10 @@ impl FileReaderSync { } #[allow(non_snake_case)] - pub fn Constructor(global: &GlobalScope, proto: Option<HandleObject>) -> Fallible<DomRoot<FileReaderSync>> { + pub fn Constructor( + global: &GlobalScope, + proto: Option<HandleObject>, + ) -> Fallible<DomRoot<FileReaderSync>> { Ok(FileReaderSync::new(global, proto)) } |