diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2017-10-17 09:39:20 -0700 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2017-10-17 11:24:57 -0700 |
commit | efc3683cc7ceff0cd8c8528a168a78d42fb1a0e8 (patch) | |
tree | 66fa87d72ee1c1254baf153756888c49c3d2692f /components/script/dom/csssupportsrule.rs | |
parent | aa3122e7d1beb6c72868baf80d565b0760641b1d (diff) | |
download | servo-efc3683cc7ceff0cd8c8528a168a78d42fb1a0e8.tar.gz servo-efc3683cc7ceff0cd8c8528a168a78d42fb1a0e8.zip |
Fix commonmark Markdown warnings in docs, part 1
Fixes warnings from rust-lang/rust#44229 when `--enable-commonmark` is
passed to rustdoc.
This is mostly a global find-and-replace for bare URIs on lines by
themselves in doc comments.
Diffstat (limited to 'components/script/dom/csssupportsrule.rs')
-rw-r--r-- | components/script/dom/csssupportsrule.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/csssupportsrule.rs b/components/script/dom/csssupportsrule.rs index 2a1e49cc36f..0f6a6530233 100644 --- a/components/script/dom/csssupportsrule.rs +++ b/components/script/dom/csssupportsrule.rs @@ -46,14 +46,14 @@ impl CSSSupportsRule { CSSSupportsRuleBinding::Wrap) } - /// https://drafts.csswg.org/css-conditional-3/#the-csssupportsrule-interface + /// <https://drafts.csswg.org/css-conditional-3/#the-csssupportsrule-interface> pub fn get_condition_text(&self) -> DOMString { let guard = self.cssconditionrule.shared_lock().read(); let rule = self.supportsrule.read_with(&guard); rule.condition.to_css_string().into() } - /// https://drafts.csswg.org/css-conditional-3/#the-csssupportsrule-interface + /// <https://drafts.csswg.org/css-conditional-3/#the-csssupportsrule-interface> pub fn set_condition_text(&self, text: DOMString) { let mut input = ParserInput::new(&text); let mut input = Parser::new(&mut input); |