Remove phrase "instead of a panic!"

This commit is contained in:
Brent Kerby 2019-05-23 17:34:10 -06:00
parent 941ca6f3e2
commit 27c75372f1

View File

@ -448,7 +448,7 @@ macro_rules! writeln {
/// program immediately terminates with a [`panic!`]. /// program immediately terminates with a [`panic!`].
/// ///
/// The unsafe counterpart of this macro is the [`unreachable_unchecked`] function, which /// 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 /// [`panic!`]: ../std/macro.panic.html
/// [`unreachable_unchecked`]: ../std/hint/fn.unreachable_unchecked.html /// [`unreachable_unchecked`]: ../std/hint/fn.unreachable_unchecked.html