We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad156b1 commit 13ff627Copy full SHA for 13ff627
src/io/buf_writer.rs
@@ -3,8 +3,8 @@ use std::pin::Pin;
3
4
use futures_core::ready;
5
6
-use crate::io::{self, Seek, SeekFrom, Write};
7
use crate::io::write::WriteExt;
+use crate::io::{self, Seek, SeekFrom, Write};
8
use crate::task::{Context, Poll};
9
10
const DEFAULT_CAPACITY: usize = 8 * 1024;
@@ -200,7 +200,7 @@ impl<W: Write> BufWriter<W> {
200
/// ```
201
pub async fn into_inner(mut self) -> Result<W, IntoInnerError<BufWriter<W>>>
202
where
203
- Self: Unpin
+ Self: Unpin,
204
{
205
match self.flush().await {
206
Err(e) => Err(IntoInnerError(self, e)),
0 commit comments