Skip to content

Commit a05b564

Browse files
committed
rustfmt
1 parent fb7582b commit a05b564

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/option/from_stream.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ where
3939
.collect()
4040
.await;
4141

42-
if found_error {
43-
None
44-
} else {
45-
Some(out)
46-
}
42+
if found_error { None } else { Some(out) }
4743
})
4844
}
4945
}

src/vec/from_stream.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::pin::Pin;
22

3-
use crate::stream::{FromStream, IntoStream, Extend};
3+
use crate::stream::{Extend, FromStream, IntoStream};
44

55
impl<T> FromStream<T> for Vec<T> {
66
#[inline]

0 commit comments

Comments
 (0)