We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 12a539f + 0cc1b86 commit 96acbd8Copy full SHA for 96acbd8
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