Skip to content

Commit 143e60f

Browse files
author
Mauricio Cassola
committed
Make branch unreachable
1 parent d5741bf commit 143e60f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,7 @@ async fn run_server(addr: SocketAddr) -> anyhow::Result<()> {
262262
/* handle panic in above task, re-launching */
263263
tracing::trace!("run_scheduled_jobs task died (error={})", err);
264264
}
265-
_ => {
266-
/* break in other case by default */
267-
break;
268-
}
265+
_ => unreachable!()
269266
}
270267
}
271268
});

0 commit comments

Comments
 (0)