Skip to content

Commit 84c5441

Browse files
authored
fix test failures in documentation change
1 parent b9b6549 commit 84c5441

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/macros.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ macro_rules! println {
194194
/// # Examples
195195
///
196196
/// ```
197-
/// eprint("Error: Could not complete task");
197+
/// eprint!("Error: Could not complete task");
198198
/// ```
199199
#[macro_export]
200200
#[stable(feature = "eprint", since = "1.19.0")]
@@ -222,7 +222,7 @@ macro_rules! eprint {
222222
/// # Examples
223223
///
224224
/// ```
225-
/// eprint("Error: Could not complete task");
225+
/// eprintln!("Error: Could not complete task");
226226
/// ```
227227
#[macro_export]
228228
#[stable(feature = "eprint", since = "1.19.0")]

0 commit comments

Comments
 (0)