aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/url.rs
diff options
context:
space:
mode:
authorPyfisch <pyfisch@gmail.com>2018-11-06 16:08:50 +0100
committerPyfisch <pyfisch@gmail.com>2018-11-06 22:30:31 +0100
commit095d446ccda70c3174c31afe545bb11c22cf43be (patch)
treeeece498642269a1cdfd6a9b6405e5823175d84b6 /components/script/dom/url.rs
parentcb07debcb6f3d3561177ce536c320986720791b7 (diff)
downloadservo-095d446ccda70c3174c31afe545bb11c22cf43be.tar.gz
servo-095d446ccda70c3174c31afe545bb11c22cf43be.zip
Manually format remaining problems
Use line comments instead of block comments as block comments contain trailing whitespace after formatting with rustfmt. Skip tests for malloc_size_of and script_plugins with rustfmt as they have many block comments.
Diffstat (limited to 'components/script/dom/url.rs')
-rw-r--r--components/script/dom/url.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/components/script/dom/url.rs b/components/script/dom/url.rs
index 25e0274cbf5..22f5f9a0fdc 100644
--- a/components/script/dom/url.rs
+++ b/components/script/dom/url.rs
@@ -118,12 +118,9 @@ impl URL {
// https://w3c.github.io/FileAPI/#dfn-revokeObjectURL
pub fn RevokeObjectURL(global: &GlobalScope, url: DOMString) {
- /*
- If the value provided for the url argument is not a Blob URL OR
- if the value provided for the url argument does not have an entry in the Blob URL Store,
-
- this method call does nothing. User agents may display a message on the error console.
- */
+ // If the value provided for the url argument is not a Blob URL OR
+ // if the value provided for the url argument does not have an entry in the Blob URL Store,
+ // this method call does nothing. User agents may display a message on the error console.
let origin = get_blob_origin(&global.get_url());
if let Ok(url) = ServoUrl::parse(&url) {