Skip to content

Commit 6ec12f8

Browse files
taiki-ecramertj
authored andcommitted
Fix unused_imports warning on --no-default-features build
1 parent ebbc6be commit 6ec12f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

futures-core/src/stream/stream_obj.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ use super::Stream;
22
use crate::task::{LocalWaker, Poll};
33
use core::fmt;
44
use core::marker::PhantomData;
5-
use core::mem;
65
use core::pin::Pin;
76

87
/// A custom trait object for polling streams, roughly akin to
@@ -191,6 +190,7 @@ where
191190
#[cfg(feature = "std")]
192191
mod if_std {
193192
use std::boxed::Box;
193+
use std::mem;
194194
use super::*;
195195

196196
unsafe impl<'a, T, F> UnsafeStreamObj<'a, T> for Box<F>

0 commit comments

Comments
 (0)