Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mrLSD committed Oct 8, 2023
1 parent 943a130 commit ea5d075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lbinding_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ fn binding_value_not_mutable() {
);
let binding = ast::Binding {
name: ValueName::new(Ident::new("x")),
value: Box::new(expr.into()),
value: Box::new(expr),
};
t.state.binding(&binding, &block_state);
assert!(t.check_errors_len(1));
Expand Down Expand Up @@ -161,7 +161,7 @@ fn binding_value_found() {
);
let binding = ast::Binding {
name: ValueName::new(Ident::new("x")),
value: Box::new(expr.into()),
value: Box::new(expr),
};
t.state.binding(&binding, &block_state);
assert!(t.is_empty_error());
Expand Down

0 comments on commit ea5d075

Please sign in to comment.