We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39cf520 commit 0cc1b86Copy full SHA for 0cc1b86
library/core/src/hint.rs
@@ -73,8 +73,8 @@ use crate::intrinsics;
73
/// ```
74
///
75
/// While using `unreachable_unchecked()` is perfectly sound in the following
76
-/// example, the compiler is able to prove that a division by zero is not
77
-/// possible. Benchmarking reveals that `unreachable_unchecked()` provides
+/// example, as the compiler is able to prove that a division by zero is not
+/// possible, benchmarking reveals that `unreachable_unchecked()` provides
78
/// no benefit over using [`unreachable!`], while the latter does not introduce
79
/// the possibility of Undefined Behavior.
80
0 commit comments