Skip to content

Commit

Permalink
add comment explaining #[allow(async_fn_in_trait)]
Browse files Browse the repository at this point in the history
  • Loading branch information
Be-ing committed Feb 6, 2025
1 parent 8c5f264 commit 67c0134
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/inner/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
// ****************************************************************************

#![deny(missing_docs)]
// The compiler warning for `async fn` in public traits isn't relevant for embedded,
// so silence it.
// https://github.com/rust-embedded/embedded-hal/pull/515#issuecomment-1763525962
#![allow(async_fn_in_trait)]

pub mod blockdevice;
Expand Down

0 comments on commit 67c0134

Please sign in to comment.