Skip to content

Commit cac4e08

Browse files
authored
Merge pull request #628 from fenhl/patch-1
Make WriteFmtFuture must_use
2 parents 019aa14 + 07eb2c1 commit cac4e08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/io/write/write_fmt.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use crate::task::{Context, Poll};
66

77
#[doc(hidden)]
88
#[allow(missing_debug_implementations)]
9+
#[must_use]
910
pub struct WriteFmtFuture<'a, T: Unpin + ?Sized> {
1011
pub(crate) writer: &'a mut T,
1112
pub(crate) res: Option<io::Result<Vec<u8>>>,

0 commit comments

Comments
 (0)