about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2014-08-03 21:08:49 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2014-08-03 21:08:49 +0200
commit349afcfa74b46837d77d30fa373bb46d91d3b554 (patch)
treea224f544ef8dd6f08839b78e8adc44aadf1dccc0 /src/libstd
parent8b9ab0d91243e2e616275f09410bc82018892f14 (diff)
downloadrust-349afcfa74b46837d77d30fa373bb46d91d3b554.tar.gz
rust-349afcfa74b46837d77d30fa373bb46d91d3b554.zip
doc: make the sentence make more sense
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/stdio.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/stdio.rs b/src/libstd/io/stdio.rs
index 45c084b3459..5e1831f494c 100644
--- a/src/libstd/io/stdio.rs
+++ b/src/libstd/io/stdio.rs
@@ -235,7 +235,7 @@ pub fn print(s: &str) {
     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.
 pub fn println(s: &str) {
     with_task_stdout(|io| {