about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorAndrew Gauger <andygauge@gmail.com>2017-08-29 12:53:12 -0700
committerGitHub <noreply@github.com>2017-08-29 12:53:12 -0700
commit84c5441e704a528ada704868bdb1da68c9d550f6 (patch)
tree09c3ccc789408df21a78941f18da65f171dc1588 /src/libstd
parentb9b654924e71cd2bbba5bf127b9c233d36c1cbd1 (diff)
downloadrust-84c5441e704a528ada704868bdb1da68c9d550f6.tar.gz
rust-84c5441e704a528ada704868bdb1da68c9d550f6.zip
fix test failures in documentation change
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/macros.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs
index 8c7f0fec926..8dfe7b2b54f 100644
--- a/src/libstd/macros.rs
+++ b/src/libstd/macros.rs
@@ -194,7 +194,7 @@ macro_rules! println {
 /// # Examples
 ///
 /// ```
-/// eprint("Error: Could not complete task");
+/// eprint!("Error: Could not complete task");
 /// ```
 #[macro_export]
 #[stable(feature = "eprint", since = "1.19.0")]
@@ -222,7 +222,7 @@ macro_rules! eprint {
 /// # Examples
 ///
 /// ```
-/// eprint("Error: Could not complete task");
+/// eprintln!("Error: Could not complete task");
 /// ```
 #[macro_export]
 #[stable(feature = "eprint", since = "1.19.0")]