forked from mirror/async-std
Formatting
This commit is contained in:
parent
e459bd048e
commit
dd40887750
3 changed files with 4 additions and 5 deletions
|
@ -1,4 +1,3 @@
|
|||
use std::io;
|
||||
use std::mem;
|
||||
use std::pin::Pin;
|
||||
use std::str;
|
||||
|
@ -7,6 +6,7 @@ use cfg_if::cfg_if;
|
|||
use futures::io::AsyncBufRead;
|
||||
|
||||
use crate::future::Future;
|
||||
use crate::io;
|
||||
use crate::task::{Context, Poll};
|
||||
|
||||
cfg_if! {
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
use std::io::{IoSliceMut, Read as _, SeekFrom};
|
||||
use std::io::{IoSliceMut, Read as _};
|
||||
use std::pin::Pin;
|
||||
use std::{cmp, fmt};
|
||||
|
||||
use futures::io::{AsyncBufRead, AsyncRead, AsyncSeek, Initializer};
|
||||
|
||||
use crate::io;
|
||||
use crate::io::{self, SeekFrom};
|
||||
use crate::task::{Context, Poll};
|
||||
|
||||
const DEFAULT_CAPACITY: usize = 8 * 1024;
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
use std::io::SeekFrom;
|
||||
use std::pin::Pin;
|
||||
|
||||
use cfg_if::cfg_if;
|
||||
use futures::io::AsyncSeek;
|
||||
|
||||
use crate::future::Future;
|
||||
use crate::io;
|
||||
use crate::io::{self, SeekFrom};
|
||||
use crate::task::{Context, Poll};
|
||||
|
||||
cfg_if! {
|
||||
|
|
Loading…
Reference in a new issue