mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
4963afdc7b
It seems odd that the `AsRefReader`/`AsRefWriter` have the single method `by_ref()`. This creates the new traits `ByRefReader`/`ByRefWriter` and deprecates the old traits.