Skip to content
Snippets Groups Projects
Commit 5af85552 authored by Pierre Krieger's avatar Pierre Krieger Committed by GitHub
Browse files

Remove Unpin requirement for Slots (#6711)

parent bead1bec
No related merge requests found
......@@ -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> {
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment