diff options
Diffstat (limited to 'components/script/dom/location.rs')
-rw-r--r-- | components/script/dom/location.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/location.rs b/components/script/dom/location.rs index 854cdf424c2..cac2322be82 100644 --- a/components/script/dom/location.rs +++ b/components/script/dom/location.rs @@ -61,6 +61,7 @@ impl Location { self.window.load_url(self.get_url(), true, true, None); } + #[allow(dead_code)] pub fn origin(&self) -> &MutableOrigin { self.window.origin() } |