diff options
Diffstat (limited to 'components/script/dom/bindings/root.rs')
-rw-r--r-- | components/script/dom/bindings/root.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/root.rs b/components/script/dom/bindings/root.rs index da8113afefd..bf393bf5531 100644 --- a/components/script/dom/bindings/root.rs +++ b/components/script/dom/bindings/root.rs @@ -757,7 +757,7 @@ where { /// Returns a reference to the interior of this JS object. The fact /// that this is unsafe is what necessitates the layout wrappers. - pub unsafe fn unsafe_get(self) -> &'dom T { + pub fn unsafe_get(self) -> &'dom T { assert_in_layout(); self.value } |