Remove B: Buf bound on SendStream's parameter#614
Remove B: Buf bound on SendStream's parameter#614LucioFranco merged 1 commit intohyperium:masterfrom
B: Buf bound on SendStream's parameter#614Conversation
|
#616 should fix the nightly CI. |
Is this beneficial somehow? I'd love to understand the goal. |
|
Sorry, I didn't put enough context in here. hyperium/hyper#2830 contains some work to remove a transmute from hyper. Rather than write new |
|
Bumping this after #616 was merged. |
LucioFranco
left a comment
There was a problem hiding this comment.
This seems fine to me, I prefer to not have the bounds on the struct anyways. Also, I don't think this is breaking so I think we are fine to merge?
|
Quick bump on this, if there are no objections I think this would be a good improvement. 🙂 |
|
Oh sorry, we can get this merged :D |
This bound is only necessary when calling methods on
SendStreambecause we don't use any associated types ofB'sBufimpl in the type. Relaxing this bound allows us to constructSendStreams with non-BufB(though we can't do anything with them).