Skip to content

Commit

Permalink
cargo-clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
HalidOdat committed Jul 4, 2023
1 parent 4a5c665 commit d9bd825
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions boa_engine/src/bytecompiler/declarations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,6 @@ impl ByteCompiler<'_, '_> {
}
}

drop(env);

// Note: Not sure if the spec is wrong here or if our implementation just differs too much,
// but we need 3.a to be finished for all declarations before 3.b can be done.

Expand Down
2 changes: 1 addition & 1 deletion boa_engine/src/environments/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ impl CompileTimeEnvironment {
}
true
} else {
return outer.create_mutable_binding(name, function_scope);
outer.create_mutable_binding(name, function_scope)
}
} else if function_scope {
false
Expand Down

0 comments on commit d9bd825

Please sign in to comment.