Fix clippy errors and upgrade Rust to 1.33.0 in CI (#1945)

This commit is contained in:
Ryan Dahl 2019-03-20 18:55:52 -04:00 committed by GitHub
parent 223a2adbb4
commit 94405bb617
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 135 additions and 150 deletions

View file

@ -256,7 +256,7 @@ impl DenoDir {
}
};
if out.source_code.starts_with("#!".as_bytes()) {
if out.source_code.starts_with(b"#!") {
out.source_code = filter_shebang(out.source_code);
}