diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2015-09-04 09:11:04 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-09-04 09:13:48 +0530 |
commit | e94df1ed5c3ccf76cd616e1146e2944f852477ac (patch) | |
tree | d112409360efa1979fca5c2902aecdfa18e684c0 /components/script/dom/blob.rs | |
parent | 2e02ea38fca44aaa5fe23e524bf27f667b300ada (diff) | |
download | servo-e94df1ed5c3ccf76cd616e1146e2944f852477ac.tar.gz servo-e94df1ed5c3ccf76cd616e1146e2944f852477ac.zip |
Remove needless returns
Diffstat (limited to 'components/script/dom/blob.rs')
-rw-r--r-- | components/script/dom/blob.rs | 2 |
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 { |