Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan committed Jun 9, 2023
1 parent 7f1904f commit 8177f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expr/src/sig/func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ mod tests {
// convert FUNC_SIG_MAP to a more convenient map for testing
let mut new_map: BTreeMap<PbType, BTreeMap<Vec<DataTypeName>, Vec<FuncSign>>> =
BTreeMap::new();
for ((func, num_args), sigs) in FUNC_SIG_MAP.0.iter() {
for ((func, num_args), sigs) in &FUNC_SIG_MAP.0 {
for sig in sigs {
// validate the FUNC_SIG_MAP is consistent
assert_eq!(func, &sig.func);
Expand Down

0 comments on commit 8177f86

Please sign in to comment.