auto merge of #16220 : tshepang/rust/temp, r=steveklabnik
This commit is contained in:
commit
1a53c00117
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