Merge pull request #628 from fenhl/patch-1

Make WriteFmtFuture must_use
split-by-pattern
Yoshua Wuyts 5 years ago committed by GitHub
commit cac4e081cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,6 +6,7 @@ use crate::task::{Context, Poll};
#[doc(hidden)] #[doc(hidden)]
#[allow(missing_debug_implementations)] #[allow(missing_debug_implementations)]
#[must_use]
pub struct WriteFmtFuture<'a, T: Unpin + ?Sized> { pub struct WriteFmtFuture<'a, T: Unpin + ?Sized> {
pub(crate) writer: &'a mut T, pub(crate) writer: &'a mut T,
pub(crate) res: Option<io::Result<Vec<u8>>>, pub(crate) res: Option<io::Result<Vec<u8>>>,

Loading…
Cancel
Save