Skip to content
Closed
Changes from 2 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4dded23
add `special_module_name` lint
ibraheemdev Mar 1, 2022
c08f460
tidy
ibraheemdev Apr 15, 2022
f479289
move dummy test module to auxiliary directory
ibraheemdev Jun 4, 2022
4fdf43f
`special_module_name`: ignore inline modules
ibraheemdev Jul 21, 2022
b9c47f6
Use getuid to check instead of USER env var in rustbuild
Samyak2 Aug 21, 2022
e136e02
bootstrap: Add llvm-has-rust-patches target option
tmandry Aug 27, 2022
73958fd
Ignore cargo target folder in src/bootstrap
tmandry Aug 27, 2022
de6a3ec
Make docs formulation more consistent for NonZero{int}
yjhn Aug 30, 2022
8410df3
Also replace the version placeholder in rustc_attr
est31 Aug 30, 2022
803e35a
Remove unneeded extra whitespace before where clause
GuillaumeGomez Aug 31, 2022
4304d1d
Update rustdoc tests
GuillaumeGomez Aug 31, 2022
b112bfe
Add rustdoc GUI test
GuillaumeGomez Aug 31, 2022
a928255
Fix bad target name in Walkthrough
diminishedprime Aug 31, 2022
037a911
rustdoc: remove unused `.docblock .impl-items` CSS
notriddle Aug 31, 2022
d8b572b
Tweaks to fuchsia doc walkthrough
andrewpollack Aug 31, 2022
a20318d
Update outdated comment about output capturing in print_to.
m-ou-se Sep 1, 2022
098725c
Fix filename of armv4t-none-eabi.md
QuinnPainter Sep 1, 2022
c9f4af6
Fix typo in comment
aDotInTheVoid Sep 1, 2022
78e9bea
do not suggest adding `move` to closure when `move` is already used
TaKO8Ki Sep 1, 2022
96ae006
Rollup merge of #94467 - ibraheemdev:master, r=pnkfelix
matthiaskrgr Sep 1, 2022
08e8695
Rollup merge of #100852 - Samyak2:samyak/100459, r=Mark-Simulacrum
matthiaskrgr Sep 1, 2022
827d33f
Rollup merge of #101072 - tmandry:llvm-is-vanilla, r=Mark-Simulacrum
matthiaskrgr Sep 1, 2022
f40cb90
Rollup merge of #101190 - yjhn:patch-1, r=Mark-Simulacrum
matthiaskrgr Sep 1, 2022
6a4f64c
Rollup merge of #101215 - est31:rustdoc_version_placeholder, r=Mark-S…
matthiaskrgr Sep 1, 2022
a60dc0c
Rollup merge of #101245 - GuillaumeGomez:remove-unneeded-where-whites…
matthiaskrgr Sep 1, 2022
3a68093
Rollup merge of #101251 - diminishedprime:patch-1, r=JohnTitor
matthiaskrgr Sep 1, 2022
a435d06
Rollup merge of #101254 - rust-lang:notriddle/remove-even-more-css, r…
matthiaskrgr Sep 1, 2022
1cb8ff0
Rollup merge of #101256 - andrewpollack:fuchsia-docs-adding, r=tmandry
matthiaskrgr Sep 1, 2022
5453c8d
Rollup merge of #101270 - m-ou-se:update-comment, r=joshtriplett
matthiaskrgr Sep 1, 2022
a25eef1
Rollup merge of #101271 - QuinnPainter:patch-1, r=Dylan-DPC
matthiaskrgr Sep 1, 2022
a3d1970
Rollup merge of #101274 - aDotInTheVoid:comment-typo, r=TaKO8Ki
matthiaskrgr Sep 1, 2022
22a30bd
Rollup merge of #101285 - TaKO8Ki:do-not-suggest-adding-move-when-clo…
matthiaskrgr Sep 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions library/std/src/io/stdio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -986,10 +986,10 @@ pub fn set_output_capture(sink: Option<LocalStream>) -> Option<LocalStream> {
/// otherwise. `label` identifies the stream in a panic message.
///
/// This function is used to print error messages, so it takes extra
/// care to avoid causing a panic when `local_s` is unusable.
/// For instance, if the TLS key for the local stream is
/// already destroyed, or if the local stream is locked by another
/// thread, it will just fall back to the global stream.
/// care to avoid causing a panic when `OUTPUT_CAPTURE` is unusable.
/// For instance, if the TLS key for output capturing is already destroyed, or
/// if the local stream is in use by another thread, it will just fall back to
/// the global stream.
///
/// However, if the actual I/O causes an error, this function does panic.
fn print_to<T>(args: fmt::Arguments<'_>, global_s: fn() -> T, label: &str)
Expand Down