Skip to content

Commit 8b20752

Browse files
eduardosmAmanieu
authored andcommitted
Silence clippy::if_same_then_else in a specific location
1 parent 0fa5b48 commit 8b20752

File tree

1 file changed

+1
-0
lines changed
  • stdarch/crates/stdarch-gen/src

1 file changed

+1
-0
lines changed

stdarch/crates/stdarch-gen/src/main.rs

Lines changed: 1 addition & 0 deletions
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)