mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 10:31:04 +00:00
Remove Unpin requirement for Slots (#6711)
This commit is contained in:
@@ -109,7 +109,7 @@ impl<SC> Slots<SC> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<SC: SlotCompatible + Unpin> Stream for Slots<SC> {
|
||||
impl<SC: SlotCompatible> Stream for Slots<SC> {
|
||||
type Item = Result<SlotInfo, Error>;
|
||||
|
||||
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> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl<SC> Unpin for Slots<SC> {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user