We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53f2165 commit 84096e0Copy full SHA for 84096e0
src/libcore/hint.rs
@@ -21,9 +21,8 @@ use intrinsics;
21
/// difficult-to-debug problems.
22
///
23
/// Use this function only when you can prove that the code will never call it.
24
-///
25
-/// The [`unreachable!()`] macro is the safe counterpart of this function, which
26
-/// will panic instead when executed.
+/// Otherwise, consider using the [`unreachable!()`] macro, which does not allow
+/// optimizations but will panic when executed.
27
28
/// [`unreachable!()`]: ../macro.unreachable.html
29
0 commit comments