| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-05-03 | std::io: Modify some ReadBuf method signatures to return `&mut Self` | Nick Cameron | -7/+11 | |
| This allows using `ReadBuf` in a builder-like style and to setup a `ReadBuf` and pass it to `read_buf` in a single expression, e.g., ``` // With this PR: reader.read_buf(ReadBuf::uninit(buf).assume_init(init_len))?; // Previously: let mut buf = ReadBuf::uninit(buf); buf.assume_init(init_len); reader.read_buf(&mut buf)?; ``` Signed-off-by: Nick Cameron <nrc@ncameron.org> | ||||
| 2021-12-26 | fix typo: intialized -> initialized | Hiroshi Kori | -2/+2 | |
| 2021-12-07 | correct typo | DrMeepster | -1/+1 | |
| Co-authored-by: Josh Triplett <josh@joshtriplett.org> | ||||
| 2021-11-02 | implement review suggestions | DrMeepster | -5/+5 | |
| 2021-11-02 | read_buf | DrMeepster | -0/+245 | |
