diff options
Diffstat (limited to 'components/script/dom/stylesheet.rs')
-rw-r--r-- | components/script/dom/stylesheet.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/stylesheet.rs b/components/script/dom/stylesheet.rs index bf708685426..8bb6faa0c90 100644 --- a/components/script/dom/stylesheet.rs +++ b/components/script/dom/stylesheet.rs @@ -39,8 +39,8 @@ impl StyleSheet { } impl StyleSheetMethods<crate::DomTypeHolder> for StyleSheet { - // https://drafts.csswg.org/cssom/#dom-stylesheet-type - fn Type_(&self) -> DOMString { + /// <https://drafts.csswg.org/cssom/#dom-stylesheet-type> + fn Type(&self) -> DOMString { self.type_.clone() } |