We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 534bc28 commit 7631e88Copy full SHA for 7631e88
core/src/hint.rs
@@ -99,7 +99,7 @@ pub fn spin_loop() {
99
/// An identity function that *__hints__* to the compiler to be maximally pessimistic about what
100
/// `black_box` could do.
101
///
102
-/// [`std::convert::identity`]: crate::convert::identity
+/// [`std::convert::identity`]: https://doc.rust-lang.org/core/convert/fn.identity.html
103
104
/// Unlike [`std::convert::identity`], a Rust compiler is encouraged to assume that `black_box` can
105
/// use `x` in any possible valid way that Rust code is allowed to without introducing undefined
0 commit comments