about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTim Kurdov <tim.kurdov@gmail.com>2023-08-15 22:37:48 +0100
committerGitHub <noreply@github.com>2023-08-15 22:37:48 +0100
commite6ab5f72a2fa62158e29df30b0e9c6b3ec0c2b9b (patch)
treeaf41488dd95b9daad0b1c98be0717aa04bc9cc18
parentc57393e4f8b88444fbf0985a81a2d662862f2733 (diff)
downloadrust-e6ab5f72a2fa62158e29df30b0e9c6b3ec0c2b9b.tar.gz
rust-e6ab5f72a2fa62158e29df30b0e9c6b3ec0c2b9b.zip
Update the link in the docs of `std::intrinsics`
The previous link in that place, https://github.com/rust-lang/miri/blob/master/src/shims/intrinsics.rs, no longer points to an existing file.
-rw-r--r--library/core/src/intrinsics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs
index 9ef2c7cde02..676d4f2f38c 100644
--- a/library/core/src/intrinsics.rs
+++ b/library/core/src/intrinsics.rs
@@ -9,7 +9,7 @@
 //! This includes changes in the stability of the constness.
 //!
 //! In order to make an intrinsic usable at compile-time, one needs to copy the implementation
-//! from <https://github.com/rust-lang/miri/blob/master/src/shims/intrinsics.rs> to
+//! from <https://github.com/rust-lang/miri/blob/master/src/shims/intrinsics> to
 //! <https://github.com/rust-lang/rust/blob/master/compiler/rustc_const_eval/src/interpret/intrinsics.rs> and add a
 //! `#[rustc_const_unstable(feature = "const_such_and_such", issue = "01234")]` to the intrinsic declaration.
 //!