Skip to content

Commit e78eda4

Browse files
authored
run clippy to fix CI (#13)
1 parent 30116a2 commit e78eda4

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

llvm_buildbot_monitor/src/greendragon.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,13 @@ async fn find_first_failing_build(
147147
match fetch_completed_build(client, bot_name, build_number).await {
148148
Err(x) => {
149149
let root_cause = x.root_cause();
150-
if let Some(x) = root_cause.downcast_ref::<reqwest::Error>() {
151-
if x.status() == Some(reqwest::StatusCode::NOT_FOUND) {
152-
info!(
153-
"Finding first failing build for {bot_name:?} 404'ed on {build_number}; trying another..."
154-
);
155-
continue;
156-
}
150+
if let Some(x) = root_cause.downcast_ref::<reqwest::Error>()
151+
&& x.status() == Some(reqwest::StatusCode::NOT_FOUND)
152+
{
153+
info!(
154+
"Finding first failing build for {bot_name:?} 404'ed on {build_number}; trying another..."
155+
);
156+
continue;
157157
}
158158
return Err(x);
159159
}

0 commit comments

Comments
 (0)