Skip to content

Commit e7b0fe2

Browse files
committed
Remove Unpin bounds more
1 parent 5f7a443 commit e7b0fe2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/stream/stream/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,7 @@ pub trait Stream {
541541
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
542542
where
543543
Self: Sized,
544-
St: Unpin,
545-
F: Unpin + FnMut(&mut St, Self::Item) -> Option<B>,
544+
F: FnMut(&mut St, Self::Item) -> Option<B>,
546545
{
547546
Scan::new(self, initial_state, f)
548547
}

0 commit comments

Comments
 (0)