Fix a comment in the rustdoc

This commit is contained in:
Sylvestre Ledru 2023-04-20 21:42:46 +02:00
parent 89d6b8dfea
commit 47e61f064c

View file

@ -2016,7 +2016,7 @@ impl UChild {
/// Read, consume and return the output as [`String`] from [`Child`]'s stdout.
///
/// See also [`UChild::stdout_bytes] for side effects.
/// See also [`UChild::stdout_bytes`] for side effects.
pub fn stdout(&mut self) -> String {
String::from_utf8(self.stdout_bytes()).unwrap()
}