Skip to content

Commit 42ad016

Browse files
committed
add comment explaining #[allow(async_fn_in_trait)]
1 parent 5549616 commit 42ad016

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/inner/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// ****************************************************************************
66

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

1013
pub mod blockdevice;

0 commit comments

Comments
 (0)