mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 20:46:22 +00:00
The methods `Take::get_mut` and `Chain::get_mut` include comments warning about modifying the I/O state of the underlying reader. However, many readers (e.g. `File`) allow I/O using a shared reference (e.g. `&File`). So, add the same caveat to the `get_ref` methods.