From e7b0fe2d2e39b7dec27842110fec420d7cd0db5d Mon Sep 17 00:00:00 2001 From: Wonwoo Choi Date: Mon, 16 Sep 2019 11:28:38 +0900 Subject: [PATCH] Remove Unpin bounds more --- src/stream/stream/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/stream/stream/mod.rs b/src/stream/stream/mod.rs index 9bcccb637..24423b688 100644 --- a/src/stream/stream/mod.rs +++ b/src/stream/stream/mod.rs @@ -541,8 +541,7 @@ pub trait Stream { fn scan(self, initial_state: St, f: F) -> Scan where Self: Sized, - St: Unpin, - F: Unpin + FnMut(&mut St, Self::Item) -> Option, + F: FnMut(&mut St, Self::Item) -> Option, { Scan::new(self, initial_state, f) }