Skip to content

Commit 5c7ec3a

Browse files
eduardosmAmanieu
authored andcommitted
Silence clippy::if_same_then_else in a specific location
1 parent 8a25e75 commit 5c7ec3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/stdarch-gen/src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2981,6 +2981,7 @@ fn get_call(
29812981
param_str.push_str(&sub_call);
29822982
} else if s.contains(':') {
29832983
let re_params: Vec<_> = s.split(':').map(|v| v.to_string()).collect();
2984+
#[allow(clippy::if_same_then_else)]
29842985
if re_params[1] == "" {
29852986
re = Some((re_params[0].clone(), in_t[1].to_string()));
29862987
} else if re_params[1] == "in_t" {

0 commit comments

Comments
 (0)