-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Update mod.rs #141935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
kiseitai3
wants to merge
131
commits into
rust-lang:master
from
kiseitai3:141714_stdin_read_to_string_docs
Closed
Update mod.rs #141935
Changes from 6 commits
Commits
Show all changes
131 commits
Select commit
Hold shift + click to select a range
4d56e88
Update mod.rs
kiseitai3 95ff1e4
docs: Small clarification on the usage of `read_to_string` and `read_…
kiseitai3 ffabd27
docs: Amended usage notes sections in read_to_end/read_to_string. Add…
28d3682
Merge remote-tracking branch 'origin/141714_stdin_read_to_string_docs…
f9499d9
Merge branch 'rust-lang:master' into 141714_stdin_read_to_string_docs
kiseitai3 ac993c4
Merge remote-tracking branch 'origin/141714_stdin_read_to_string_docs…
a0350b2
Add `iter` macro
oli-obk c3567c1
std: abort the process on failure to allocate a TLS key
joboet 10a81ef
compiler: add CanonAbi
workingjubilee 20e554b
compiler: add AbiMap
workingjubilee 80767ea
compiler: use CanonAbi for entry_abi
workingjubilee d76aaea
compiler: change Conv to CanonAbi
workingjubilee 608fe82
cg_llvm: convert to CanonAbi
workingjubilee bf29712
cg_clif: convert to CanonAbi
workingjubilee 3b9480d
cg_gcc: convert to CanonAbi
workingjubilee 0f617e3
miri: sed to CanonAbi
workingjubilee bc91070
bless test for CanonAbi::X86(SysV64) change
workingjubilee af990ac
compiler: simplify TargetOptions ABI functions
workingjubilee 06f3050
compiler: actually remove Conv now that it is irrelevant
workingjubilee 1830c9b
Use the informative error as the main const eval error message
oli-obk cfdc10b
Clarify why we are talking about a failed const eval at a random place
oli-obk b4be056
Remove bootstrap cfgs from library/
cuviper a73ec8a
Remove more library bootstrap
cuviper 7563815
Remove pre-expansion AST stats.
nnethercote b4308fc
Remove `Path::is_ident`.
nnethercote 0b3d6f5
Add missing `dyn` keywords to tests that do not test for them Part 2
Veykril 3878b69
Rework collect_and_apply to not rely on size hint for optimization
compiler-errors 1fd08c7
Improve the documentation of `Display` and `FromStr`, and their inter…
joshtriplett f70d304
Add some more description of interactions between `Display` and `From…
joshtriplett 689a2a6
`FromStr`: Rework explanation of `FromStr`/`Display` round-tripping
joshtriplett 58f3c5e
`Display`: Rework explanation of `FromStr`/`Display` round-tripping
joshtriplett be0705c
Remove `i128` and `u128` from `improper_ctypes_definitions`
tgross35 9b42771
build dist for x86_64-pc-solaris and sparcv9-sun-solaris
psumbera 88f3ba1
add s390x z17 target features
folkertdev 49f146c
make `OsString::new` and `PathBuf::new` unstably const
cyrgani e620131
index: add method for checking range on DenseBitSet
nia-e 7cb7542
Use non-2015 edition paths in tests that do not test for their resolu…
Veykril c5f1c58
bootstrap: don't symlink source dir into stage0 sysroot
lambdageek fd20ff9
run `check::Std` as the final step
onur-ozkan c901623
make it possible to request stage 0 std with `Builder::ensure`
onur-ozkan 6d8856e
remove outdated RUSTC_SYSROOT handling for ci-rustc
onur-ozkan f8e301c
Remove `MetaItemListParser::all_{word,path}_list`, which are unused.
nnethercote ecffede
Remove an unnecessary lifetime.
nnethercote f42ebfa
Remove `MetaItemParser::{word,word_without_args,path_is}`.
nnethercote e3c9bd3
Remove `MetaItemParser::{path,deconstruct}`.
nnethercote 84c36c4
Rename `MetaItemParser::path_without_args` as `MetaItemParser::path`.
nnethercote 3135980
Fix incorrect eq_unspanned in TokenStream
chenyukang a50cf4d
remove eq_unspanned from TokenStream
chenyukang fecd610
remove f16: From<u16>
usamoi 8ac2576
Lightly tweak docs for BTree{Map,Set}::extract_if
rs-sac 72b2ce4
add tests
Qelxiros d3586db
add tests for negative numbers
Qelxiros eea5295
Add missing 2015 edition directives
Veykril 374b9c9
Improve some `Visitor` comments.
nnethercote 1454a0d
x86 (32/64): go back to passing SIMD vectors by-ptr
RalfJung 7e2e608
abi_check: tweak some comments
RalfJung de794e4
Add link to correct documentation in htmldocck.py
Derukugis ddab0d8
Fix for async drop inside async gen fn
azhogin d386874
Use non-2015 edition paths in tests that do not test for their resolu…
Veykril 156fab5
Run wfcheck in one big loop instead of per module
oli-obk 3453e36
Triagebot: Remove `assign.users_on_vacation`
fmease 5f6b5d9
Add a test to reproduce ICE
compiler-errors bbbd641
Ensure query keys are printed with reduced queries
compiler-errors a0c447f
Visit the ident in `PreciseCapturingNonLifetimeArg`.
nnethercote 7100d28
Change `tag_field` to `FieldIdx` in `Variants::Multiple`
scottmcm e6fa498
Fix incorrect use of "recommend" over "recommended"
Rageking8 2161b80
Don't refer to 'this tail expression' in expansion.
m-ou-se 22c04b8
Don't refer to 'local binding' in extern macro.
m-ou-se 1ea8699
Move placeholder handling to a proper preprocessing step
amandasystems 99dd99b
Use an enum for SCC representatives, plus other code review
amandasystems b497e61
Add Location::file_with_nul
cramertj 2de3006
UnsafePinned: also include the effects of UnsafeCell
RalfJung 2dfe379
add Miri tests
RalfJung b86a201
Do not run PGO/BOLT in x64 Linux alt builds
Kobzol fe7aaab
Use 4-core large disk runner for the alt job
Kobzol f883bef
update gpu offload build command
ZuseZ4 2fdb150
use a relative path, so that this also works offline
tshepang 1232f32
distracting indirection
tshepang a308272
Trivial: dedup word
smanilov 8853bfa
Add title and toc to Async chapter
smanilov 48ca697
Fix some warning blocks that contain Markdown
fmease 5127d48
Simplify long sentence
smanilov b72bcdd
Preparing for merge from rustc
jieyouxu b92f05a
cleaned up some tests
Kivooeo c15f1d8
implement new `x` flag: `--skip-std-check-if-no-download-rustc`
onur-ozkan cf0dd5d
bless tidy
onur-ozkan 44f8bee
add change-entry
onur-ozkan b9f8abf
document `skip-std-check-if-no-download-rustc` in rustc-dev-guide
onur-ozkan 1b75e1a
update `skip_std_check_if_no_download_rustc` doc-comments
onur-ozkan fedc840
jsondoclint: Extract `Command`/`CommandKind` into its own file
aDotInTheVoid beb00d4
jsondocck: command -> directive
aDotInTheVoid 50a8292
jsondocck: Explain what `KNOWN_DIRECTIVE_NAMES` is doing
aDotInTheVoid 376507b
cleaned up some tests
Kivooeo 73325df
rustdoc-json-type: Depend on `serde` and `serde_derive` seperately
aDotInTheVoid badc578
Report the actual item that evaluation failed for
oli-obk e62aa1b
bootstrap: Fix file permissions when dereferencing symlinks
smpdt 23b7206
Fix parsing of frontmatters with inner hyphens
matthewjasper 433dc71
Enable `__powitf2` on MSVC
beetrees 0e9accc
fixed typo in readme
Lorl0rd 7f11e8f
libm: Clean up unused files
tgross35 f8d321d
Update `CmpResult` to use a pointer-sized return type
tgross35 ef9b35c
Typo in README.md
D-Dario0 517f12f
aarch64: Add a note saying why we use `frintx` rather than `frintn`
tgross35 36c4228
cleanup: Reuse `MinInt` and `Int` from `libm` in `compiler-builtins`
tgross35 ca73c15
Reuse `libm`'s `Caat` and `CastFrom` in `compiler-builtins`
tgross35 57bdcfa
Remove unneeded C symbols
tgross35 2f92d6d
Replace the `nm` symbol check with a Rust implementation
tgross35 2d2369f
Remove the now-unneeded llvm-tools-preview
tgross35 3be8875
Change `compiler-builtins` to edition 2024
tgross35 8c85829
symcheck: Print the command to make reproducing errors easier
tgross35 eab2c69
Add benchmarks for float parsing and printing
tgross35 0384ba3
Run `builtins-test-intrinsics` when possible
tgross35 9c6c62b
ci: Allow concurrency outside of pull requests
tgross35 aaece93
Increase the benchmark rustc version to 2025-05-28
tgross35 7f19764
libm-test: Make `extensive` an attribute rather than a test type
tgross35 7a1abae
ci: Allow for multiple icount benchmarks in the same run
tgross35 d6bc12c
chore: release
github-actions[bot] bc08052
Fix new `dead_code` warnings from recent nightlies
tgross35 d1a4e71
Upgrade all dependencies to the latest available version
tgross35 ab70932
cleanup: Use `x.biteq(y)` rather than `x.to_bits() == y.to_bits()`
tgross35 eeb2f6c
ci: Refactor benchmark regression checks
tgross35 76d8b35
libm-test: Fix unintentional skips in `binop_common`
tgross35 fb54651
Replace the musl submodule with a download script
tgross35 d84e222
Add an empty rust-version file
tgross35 f3ef1b0
Add tooling for `josh` syncs
tgross35 4993831
Update the upstream Rust version
tgross35 fb80bfd
`panic-handler`: Remove the `no_core` feature
tgross35 3432db9
Rename `LifetimeSyntax` variants to lang-team-approved names
shepmaster 8563905
Introduce the `mismatched_lifetime_syntaxes` lint
shepmaster 8587e1a
Replace `elided_named_lifetimes` with `mismatched_lifetime_syntaxes`
shepmaster 7298055
docs: Small clarification on the usage of `read_to_string` and `read_…
kiseitai3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks much better to me. I think the
catexample would be good to keep, but maybe translate the other example into words in case someone doesn't know what the-fflag doesThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am making adjustments, but did not have time to complete tonight.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a problem, there is no deadline :)