aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/blob.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-09-04 09:11:04 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-09-04 09:13:48 +0530
commite94df1ed5c3ccf76cd616e1146e2944f852477ac (patch)
treed112409360efa1979fca5c2902aecdfa18e684c0 /components/script/dom/blob.rs
parent2e02ea38fca44aaa5fe23e524bf27f667b300ada (diff)
downloadservo-e94df1ed5c3ccf76cd616e1146e2944f852477ac.tar.gz
servo-e94df1ed5c3ccf76cd616e1146e2944f852477ac.zip
Remove needless returns
Diffstat (limited to 'components/script/dom/blob.rs')
-rw-r--r--components/script/dom/blob.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/blob.rs b/components/script/dom/blob.rs
index 7e101dc4070..154cb6f43c4 100644
--- a/components/script/dom/blob.rs
+++ b/components/script/dom/blob.rs
@@ -37,7 +37,7 @@ pub struct Blob {
fn is_ascii_printable(string: &DOMString) -> bool {
// Step 5.1 in Sec 5.1 of File API spec
// http://dev.w3.org/2006/webapi/FileAPI/#constructorBlob
- return string.chars().all(|c| { c >= '\x20' && c <= '\x7E' })
+ string.chars().all(|c| { c >= '\x20' && c <= '\x7E' })
}
impl Blob {