Skip to content

Commit be93095

Browse files
committed
stderr
1 parent 449300a commit be93095

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli/rustup_mode.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,12 +1585,12 @@ fn doc(cfg: &Cfg, m: &ArgMatches) -> Result<utils::ExitCode> {
15851585
topical_path.to_str().unwrap()
15861586
} else if let Some((name, _, path)) = DOCS_DATA.iter().find(|(name, _, _)| m.get_flag(name)) {
15871587
writeln!(
1588-
process().stdout().lock(),
1588+
process().stderr().lock(),
15891589
"Opening docs named `{name}` in your browser"
15901590
)?;
15911591
path
15921592
} else {
1593-
writeln!(process().stdout().lock(), "Opening docs in your browser")?;
1593+
writeln!(process().stderr().lock(), "Opening docs in your browser")?;
15941594
"index.html"
15951595
};
15961596

0 commit comments

Comments
 (0)