Add #[must_use]
to all futures
This commit is contained in:
@ -273,6 +273,7 @@ mod transfers {
|
||||
Transfer::new(channel)
|
||||
}
|
||||
|
||||
#[must_use = "futures do nothing unless you `.await` or poll them"]
|
||||
pub(crate) struct Transfer<'a, C: Channel> {
|
||||
channel: PeripheralRef<'a, C>,
|
||||
}
|
||||
|
Reference in New Issue
Block a user