Files
rust/library/std/src/io
Noah Lev aa0ce4a20e Remove &mut from io::read_to_string signature
`@m-ou-se` [realized][1] that because `Read` is implemented for `&mut impl
Read`, there's no need to take `&mut` in `io::read_to_string`.

Removing the `&mut` from the signature allows users to remove the `&mut`
from their calls (and thus pass an owned reader) if they don't use the
reader later.

[1]: https://github.com/rust-lang/rust/issues/80218#issuecomment-874322129
2022-01-13 10:57:45 -08:00
..
2020-11-06 17:48:26 +01:00
2021-03-21 20:22:26 +01:00
2021-11-02 22:47:28 -07:00
2021-11-02 22:47:20 -07:00
2021-11-02 22:47:20 -07:00
2021-12-14 20:00:59 -05:00
2021-11-02 22:47:20 -07:00
2021-12-26 18:37:11 -08:00
2021-12-14 16:40:43 +01:00
2021-11-02 22:47:20 -07:00
2021-11-02 22:47:26 -07:00