Skip to content

Commit

Permalink
fixed clippy errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
afinch7 committed May 26, 2019
1 parent 81f9fd8 commit e8ad99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ mod tests {
fn get_op_id_from_v8_mock(name: &str) -> Option<OpId> {
let op_id_table = V8_OP_ID_MOCK_TABLE.lock().unwrap();
match op_id_table.get(name) {
Some(v) => Some(v.clone()),
Some(v) => Some(*v),
None => None,
}
}
Expand Down

0 comments on commit e8ad99b

Please sign in to comment.