Skip to content

Commit c492341

Browse files
committed
Revert broken link
1 parent 3c2eb18 commit c492341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/hint.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ pub fn spin_loop() {
9999
/// An identity function that *__hints__* to the compiler to be maximally pessimistic about what
100100
/// `black_box` could do.
101101
///
102-
/// [`std::convert::identity`]: crate::convert::identity
102+
/// [`std::convert::identity`]: https://doc.rust-lang.org/core/convert/fn.identity.html
103103
///
104104
/// Unlike [`std::convert::identity`], a Rust compiler is encouraged to assume that `black_box` can
105105
/// use `x` in any possible valid way that Rust code is allowed to without introducing undefined

0 commit comments

Comments
 (0)