await waits for an async fn call, a task, or a tuple or list of them. This value is a plain
value that is already available, so there is nothing to wait for.
Wrong#
fn get(): int = 1
fn main() { print(await get()) }Fixed#
fn get(): int = 1
fn main() { print(get()) }Common causes#
awaiton a normal (non-async) function: remove it, or make the functionasync fn.- Awaiting a value twice.