doc: make the sentence make more sense
This commit is contained in:
parent
8b9ab0d912
commit
349afcfa74
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ pub fn print(s: &str) {
|
||||||
with_task_stdout(|io| io.write(s.as_bytes()))
|
with_task_stdout(|io| io.write(s.as_bytes()))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Prints a string as a line. to the stdout of the current process. A literal
|
/// Prints a string to the stdout of the current process. A literal
|
||||||
/// `\n` character is printed to the console after the string.
|
/// `\n` character is printed to the console after the string.
|
||||||
pub fn println(s: &str) {
|
pub fn println(s: &str) {
|
||||||
with_task_stdout(|io| {
|
with_task_stdout(|io| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue