about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-08-16 08:43:53 +0200
committerGitHub <noreply@github.com>2023-08-16 08:43:53 +0200
commit6024ad1a053cb6834986a3658dea4bf2e42db942 (patch)
treeee81b0369cecb1cad7ff36f07ee6b113caa3bb0b
parent8201f0ffda9b98f2835cf4a78f48e6a5932e4df0 (diff)
parente6ab5f72a2fa62158e29df30b0e9c6b3ec0c2b9b (diff)
downloadrust-6024ad1a053cb6834986a3658dea4bf2e42db942.tar.gz
rust-6024ad1a053cb6834986a3658dea4bf2e42db942.zip
Rollup merge of #114871 - schvv31n:fix-link-in-docs, r=scottmcm
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.
 //!