We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c2eb18 commit c492341Copy full SHA for c492341
library/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