E0067#
Warning name: unused_async
Useless async annotation.
This warning is emitted when an async annotation is redundant. Remove the
redundant async keyword to keep code concise.
Erroneous example#
async fn add(a : Int32, b : Int32) -> Int32 {
a + b
}
Suggestion#
Remove the redundant async annotation:
fn add(a : Int32, b : Int32) -> Int32 {
a + b
}