Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 1bb7bb4

Browse files
authored
Remove Unpin requirement for Slots (#6711)
1 parent c619555 commit 1bb7bb4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

client/consensus/slots/src/slots.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl<SC> Slots<SC> {
109109
}
110110
}
111111

112-
impl<SC: SlotCompatible + Unpin> Stream for Slots<SC> {
112+
impl<SC: SlotCompatible> Stream for Slots<SC> {
113113
type Item = Result<SlotInfo, Error>;
114114

115115
fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context) -> Poll<Option<Self::Item>> {
@@ -165,3 +165,6 @@ impl<SC: SlotCompatible + Unpin> Stream for Slots<SC> {
165165
}
166166
}
167167
}
168+
169+
impl<SC> Unpin for Slots<SC> {
170+
}

0 commit comments

Comments
 (0)