mirror of
https://github.com/servo/servo.git
synced 2025-08-17 03:15:34 +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
|
@ -65,7 +65,7 @@ impl CssRules {
|
|||
})
|
||||
}
|
||||
|
||||
/// https://drafts.csswg.org/cssom/#remove-a-css-rule
|
||||
/// <https://drafts.csswg.org/cssom/#remove-a-css-rule>
|
||||
pub fn remove_rule(&mut self, index: usize) -> Result<(), RulesMutateError> {
|
||||
// Step 1, 2
|
||||
if index >= self.0.len() {
|
||||
|
@ -92,7 +92,7 @@ impl CssRules {
|
|||
|
||||
/// A trait to implement helpers for `Arc<Locked<CssRules>>`.
|
||||
pub trait CssRulesHelpers {
|
||||
/// https://drafts.csswg.org/cssom/#insert-a-css-rule
|
||||
/// <https://drafts.csswg.org/cssom/#insert-a-css-rule>
|
||||
///
|
||||
/// Written in this funky way because parsing an @import rule may cause us
|
||||
/// to clone a stylesheet from the same document due to caching in the CSS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue