mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 08:30:45 +00:00
a149ba26fa
async functions always return a value
10 lines
110 B
Rust
10 lines
110 B
Rust
// edition:2018
|
|
#![allow(clippy::never_loop)]
|
|
|
|
async fn f() {
|
|
loop {
|
|
break;
|
|
}
|
|
}
|
|
|
|
fn main() {}
|