Skip to content

Commit 61aaec7

Browse files
Rollup merge of rust-lang#138105 - reddevilmidzy:fix-broken-link, r=saethlin
Fix broken link to Miri intrinsics in documentation This PR updates an outdated link in the library/core/src/intrinsics/mod.rs file. The previous link, pointing to the Miri repository's src/shims/intrinsics directory, has been replaced with the correct one: https://github.com/rust-lang/miri/tree/master/src/intrinsics. This ensures that users can access the appropriate resources for the relevant intrinsic functions.
2 parents 963b226 + 6b14125 commit 61aaec7

File tree

1 file changed

+1
-1
lines changed
  • library/core/src/intrinsics

1 file changed

+1
-1
lines changed

Diff for: library/core/src/intrinsics/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//!
1111
//! In order to make an intrinsic usable at compile-time, it needs to be declared in the "new"
1212
//! style, i.e. as a `#[rustc_intrinsic]` function, not inside an `extern` block. Then copy the
13-
//! implementation from <https://github.com/rust-lang/miri/blob/master/src/shims/intrinsics> to
13+
//! implementation from <https://github.com/rust-lang/miri/blob/master/src/intrinsics> to
1414
//! <https://github.com/rust-lang/rust/blob/master/compiler/rustc_const_eval/src/interpret/intrinsics.rs>
1515
//! and make the intrinsic declaration a `const fn`.
1616
//!

0 commit comments

Comments
 (0)