#[tokio::main]
async fn main() -> Result<()> {
// need format this line.
let running = Arc::new(AtomicBool::new(true));
let r = Arc::clone(&running);
// ..
}
If it is not a async funcion,it can be fromatted as expected. but it's can be formatted with cargo fmt
If it is not a async funcion,it can be fromatted as expected. but it's can be formatted with
cargo fmt
My config (lazyvim):
version: