Silence clippies, minor doc fix (#2543)

* doc: remove stray backtick

* chore: clippy::let_unit_value

* chore: silence useless_transmute, duplicate_mod

* chore: remove allowing deref_nullptr

not needed since bindgen 0.60.0.

* chore: remove repeated allowed lints

they are already allowed from the crate root.
This commit is contained in:
Joonas Koivunen
2022-10-03 17:44:17 +03:00
committed by GitHub
parent 4f2ac51bdd
commit 31123d1fa8
5 changed files with 9 additions and 13 deletions
+2 -2
View File
@@ -129,13 +129,13 @@ mod tests {
assert!(CANCEL_MAP.contains(&session));
tx.send(()).expect("failed to send");
let () = futures::future::pending().await; // sleep forever
futures::future::pending::<()>().await; // sleep forever
Ok(())
}));
// Wait until the task has been spawned.
let () = rx.await.context("failed to hear from the task")?;
rx.await.context("failed to hear from the task")?;
// Drop the session's entry by cancelling the task.
task.abort();