File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -1318,13 +1318,11 @@ interface.
1318
1318
1319
1319
[ gh22607 ] : https://github.com/rust-lang/rust/issues/22607
1320
1320
1321
- The ` set_stdout ` and ` set_stderr ` functions will be moved to a new
1322
- ` std::fmt::output ` module and renamed to ` set_print ` and ` set_panic ` ,
1323
- respectively. These new names reflect what they actually do, removing a
1324
- longstanding confusion. The current ` stdio::flush ` function will also move to
1325
- this module and be renamed to ` flush_print ` .
1326
-
1327
- The entire ` std::fmt::output ` module will remain ` #[unstable] ` for now, however.
1321
+ The ` set_stdout ` and ` set_stderr ` functions will be removed with no replacement
1322
+ for now. It's unclear whether these functions should indeed control a thread
1323
+ local handle instead of a global handle as whether they're justified in the
1324
+ first place. It is a backwards-compatible extension to allow this sort of output
1325
+ to be redirected and can be considered if the need arises.
1328
1326
1329
1327
### ` std::env `
1330
1328
[ std::env ] : #stdenv
You can’t perform that action at this time.
0 commit comments