about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-05-26 08:24:08 +0200
committerGitHub <noreply@github.com>2023-05-26 08:24:08 +0200
commit2daecf7c455a8ff0d2690b361441558a4212fd85 (patch)
tree021a707f707f0d8efe76d52c8d5993e334bd3352 /compiler/rustc_interface/src
parent78cc117f7bb994f49c7f9b58dcf7807b18d69e28 (diff)
parentdd56f930cc6e174a24ddd1ea5f1bbf9af978abf9 (diff)
downloadrust-2daecf7c455a8ff0d2690b361441558a4212fd85.tar.gz
rust-2daecf7c455a8ff0d2690b361441558a4212fd85.zip
Rollup merge of #111940 - zirconium-n:io-read-doc-change, r=thomcc
Clarify safety concern of `io::Read::read` is only relevant in unsafe code

We have this clarification note in other similar place like [Iterator::size_hint](https://doc.rust-lang.org/stable/std/iter/trait.Iterator.html#method.size_hint).

The lack of clarification might lead to confusion to Rust beginners. [Relevant URLO post](https://users.rust-lang.org/t/can-read-overflow-a-buffer/94347).
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions