Formatting

integrate-threads-example
Stjepan Glavina 5 years ago
parent e459bd048e
commit dd40887750

@ -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…
Cancel
Save