tokio-rs / bytes

Utilities for working with bytes
MIT License
1.87k stars 278 forks source link

Rename UninitSlice constructors for consistency with ReadBuf #599

Closed mina86 closed 1 year ago

mina86 commented 1 year ago

tokio::io::ReadBuf uses names new and uninit for its constructors. For consistency with that, rename recently introduced UninitSlice constructors to match those names.