From 27c75372f116093110cf4230cac8672b0762cb92 Mon Sep 17 00:00:00 2001 From: Brent Kerby Date: Thu, 23 May 2019 17:34:10 -0600 Subject: [PATCH] Remove phrase "instead of a panic!" --- src/libcore/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index 168fc042476..9dfa09cf8a5 100644 --- a/src/libcore/macros.rs +++ b/src/libcore/macros.rs @@ -448,7 +448,7 @@ macro_rules! writeln { /// program immediately terminates with a [`panic!`]. /// /// The unsafe counterpart of this macro is the [`unreachable_unchecked`] function, which -/// instead of a [`panic!`] will cause undefined behavior if the code is reached. +/// will cause undefined behavior if the code is reached. /// /// [`panic!`]: ../std/macro.panic.html /// [`unreachable_unchecked`]: ../std/hint/fn.unreachable_unchecked.html