aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/storageevent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/storageevent.rs')
-rw-r--r--components/script/dom/storageevent.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/storageevent.rs b/components/script/dom/storageevent.rs
index 19e5a96da9c..c2ecaf59611 100644
--- a/components/script/dom/storageevent.rs
+++ b/components/script/dom/storageevent.rs
@@ -27,6 +27,7 @@ pub struct StorageEvent {
storage_area: MutNullableDom<Storage>,
}
+#[allow(non_snake_case)]
impl StorageEvent {
pub fn new_inherited(
key: Option<DOMString>,
@@ -109,6 +110,7 @@ impl StorageEvent {
}
}
+#[allow(non_snake_case)]
impl StorageEventMethods for StorageEvent {
// https://html.spec.whatwg.org/multipage/#dom-storageevent-key
fn GetKey(&self) -> Option<DOMString> {