diff options
| author | bors <bors@rust-lang.org> | 2021-08-09 08:19:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-08-09 08:19:19 +0000 |
| commit | eaf6f463599df1f18da94a6965e216ea15795417 (patch) | |
| tree | 8158c7d5411dcbfaa4f853727129ac35c5a769fa /compiler/rustc_codegen_gcc/src/base.rs | |
| parent | 7b52ad00cb492f65855014b2aab9f2abe9be3324 (diff) | |
| parent | 4763ef2bd3b785eab2198348035289f05ffd9548 (diff) | |
| download | rust-eaf6f463599df1f18da94a6965e216ea15795417.tar.gz rust-eaf6f463599df1f18da94a6965e216ea15795417.zip | |
Auto merge of #87820 - elichai:patch-2, r=kennytm
Replace read_to_string with read_line in Stdin example The current example results in infinitely reading from stdin, which can confuse newcomers trying to read from stdin. (`@razmag` encountered this while learning the language from the docs)
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/base.rs')
0 files changed, 0 insertions, 0 deletions
