-
- Downloads
Remove buf::Source in favor of buf::IntoBuf
The `Source` trait was essentially covering the same case as `IntoBuf`, so remove it. While technically a breaking change, this should not have any impact due to: 1) There are no reverse dependencies that currently depend on `bytes` 2) Source was not supposed to be implemented externally 3) IntoBuf provides the same implementations as `Source` Given these points, the change should be safe to apply.
Showing
- src/buf/buf.rs 28 additions, 0 deletionssrc/buf/buf.rs
- src/buf/buf_mut.rs 71 additions, 3 deletionssrc/buf/buf_mut.rs
- src/buf/into_buf.rs 24 additions, 8 deletionssrc/buf/into_buf.rs
- src/buf/mod.rs 0 additions, 2 deletionssrc/buf/mod.rs
- src/buf/source.rs 0 additions, 140 deletionssrc/buf/source.rs
- src/lib.rs 0 additions, 1 deletionsrc/lib.rs
Loading
Please register or sign in to comment