mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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
|
@ -34,7 +34,8 @@ pub struct BlobBuf {
|
|||
}
|
||||
|
||||
/// Parse URL as Blob URL scheme's definition
|
||||
/// https://w3c.github.io/FileAPI/#DefinitionOfScheme
|
||||
///
|
||||
/// <https://w3c.github.io/FileAPI/#DefinitionOfScheme>
|
||||
pub fn parse_blob_url(url: &ServoUrl) -> Result<(Uuid, FileOrigin), ()> {
|
||||
let url_inner = Url::parse(url.path()).map_err(|_| ())?;
|
||||
let id = {
|
||||
|
@ -47,6 +48,7 @@ pub fn parse_blob_url(url: &ServoUrl) -> Result<(Uuid, FileOrigin), ()> {
|
|||
|
||||
/// Given an URL, returning the Origin that a Blob created under this
|
||||
/// URL should have.
|
||||
///
|
||||
/// HACK(izgzhen): Not well-specified on spec, and it is a bit a hack
|
||||
/// both due to ambiguity of spec and that we have to serialization the
|
||||
/// Origin here.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue