mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
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.
This commit is contained in:
parent
aa3122e7d1
commit
efc3683cc7
137 changed files with 572 additions and 565 deletions
|
@ -37,7 +37,7 @@ impl CSSConditionRule {
|
|||
}
|
||||
|
||||
impl CSSConditionRuleMethods for CSSConditionRule {
|
||||
/// https://drafts.csswg.org/css-conditional-3/#dom-cssconditionrule-conditiontext
|
||||
/// <https://drafts.csswg.org/css-conditional-3/#dom-cssconditionrule-conditiontext>
|
||||
fn ConditionText(&self) -> DOMString {
|
||||
if let Some(rule) = self.downcast::<CSSMediaRule>() {
|
||||
rule.get_condition_text()
|
||||
|
@ -48,7 +48,7 @@ impl CSSConditionRuleMethods for CSSConditionRule {
|
|||
}
|
||||
}
|
||||
|
||||
/// https://drafts.csswg.org/css-conditional-3/#dom-cssconditionrule-conditiontext
|
||||
/// <https://drafts.csswg.org/css-conditional-3/#dom-cssconditionrule-conditiontext>
|
||||
fn SetConditionText(&self, text: DOMString) {
|
||||
if let Some(rule) = self.downcast::<CSSMediaRule>() {
|
||||
rule.set_condition_text(text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue