We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 09ab35b + 29621ba commit 863cd15Copy full SHA for 863cd15
library/core/src/hint.rs
@@ -216,7 +216,8 @@ pub fn spin_loop() {
216
///
217
/// Note however, that `black_box` is only (and can only be) provided on a "best-effort" basis. The
218
/// extent to which it can block optimisations may vary depending upon the platform and code-gen
219
-/// backend used. Programs cannot rely on `black_box` for *correctness* in any way.
+/// backend used. Programs cannot rely on `black_box` for *correctness*, beyond it behaving as the
220
+/// identity function.
221
222
/// [`std::convert::identity`]: crate::convert::identity
223
0 commit comments