aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/cssstylevalue.rs
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2017-10-17 09:39:20 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2017-10-17 11:24:57 -0700
commitefc3683cc7ceff0cd8c8528a168a78d42fb1a0e8 (patch)
tree66fa87d72ee1c1254baf153756888c49c3d2692f /components/script/dom/cssstylevalue.rs
parentaa3122e7d1beb6c72868baf80d565b0760641b1d (diff)
downloadservo-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/cssstylevalue.rs')
-rw-r--r--components/script/dom/cssstylevalue.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/cssstylevalue.rs b/components/script/dom/cssstylevalue.rs
index 4c8146edb1f..e440a428cd2 100644
--- a/components/script/dom/cssstylevalue.rs
+++ b/components/script/dom/cssstylevalue.rs
@@ -34,7 +34,7 @@ impl CSSStyleValue {
}
impl CSSStyleValueMethods for CSSStyleValue {
- /// https://drafts.css-houdini.org/css-typed-om-1/#CSSStyleValue-stringification-behavior
+ /// <https://drafts.css-houdini.org/css-typed-om-1/#CSSStyleValue-stringification-behavior>
fn Stringifier(&self) -> DOMString {
DOMString::from(&*self.value)
}
@@ -44,7 +44,7 @@ impl CSSStyleValue {
/// Parse the value as a `url()`.
/// TODO: This should really always be an absolute URL, but we currently
/// return relative URLs for computed values, so we pass in a base.
- /// https://github.com/servo/servo/issues/17625
+ /// <https://github.com/servo/servo/issues/17625>
pub fn get_url(&self, base_url: ServoUrl) -> Option<ServoUrl> {
let mut input = ParserInput::new(&*self.value);
let mut parser = Parser::new(&mut input);