From c4923419c2570e2013e7b946f1a47001f8f9289a Mon Sep 17 00:00:00 2001 From: Denis Vasilik Date: Tue, 11 Aug 2020 23:54:51 +0200 Subject: [PATCH] Revert broken link --- library/core/src/hint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/hint.rs b/library/core/src/hint.rs index 9ee50a90510..6a14caebed0 100644 --- a/library/core/src/hint.rs +++ b/library/core/src/hint.rs @@ -99,7 +99,7 @@ pub fn spin_loop() { /// An identity function that *__hints__* to the compiler to be maximally pessimistic about what /// `black_box` could do. /// -/// [`std::convert::identity`]: crate::convert::identity +/// [`std::convert::identity`]: https://doc.rust-lang.org/core/convert/fn.identity.html /// /// Unlike [`std::convert::identity`], a Rust compiler is encouraged to assume that `black_box` can /// use `x` in any possible valid way that Rust code is allowed to without introducing undefined