mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Remove needless returns
This commit is contained in:
parent
2e02ea38fc
commit
e94df1ed5c
14 changed files with 38 additions and 38 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue