diff options
| author | Michael Goulet <michael@errs.io> | 2025-03-06 15:40:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-06 15:40:09 -0500 |
| commit | 61aaec7965517b48cf27cbb2e02c79e8b82d7fa3 (patch) | |
| tree | 4dc0af2d207d4d5ada739e464751535d16546f62 | |
| parent | 963b226555a1366ba9a70c9479404a289ff60abe (diff) | |
| parent | 6b14125102ccdbcd62099a096e686dbd2f625ff1 (diff) | |
| download | rust-61aaec7965517b48cf27cbb2e02c79e8b82d7fa3.tar.gz rust-61aaec7965517b48cf27cbb2e02c79e8b82d7fa3.zip | |
Rollup merge of #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.
| -rw-r--r-- | library/core/src/intrinsics/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/intrinsics/mod.rs b/library/core/src/intrinsics/mod.rs index 38a60338e74..c5603298a70 100644 --- a/library/core/src/intrinsics/mod.rs +++ b/library/core/src/intrinsics/mod.rs @@ -10,7 +10,7 @@ //! //! In order to make an intrinsic usable at compile-time, it needs to be declared in the "new" //! style, i.e. as a `#[rustc_intrinsic]` function, not inside an `extern` block. Then copy the -//! implementation from <https://github.com/rust-lang/miri/blob/master/src/shims/intrinsics> to +//! implementation from <https://github.com/rust-lang/miri/blob/master/src/intrinsics> to //! <https://github.com/rust-lang/rust/blob/master/compiler/rustc_const_eval/src/interpret/intrinsics.rs> //! and make the intrinsic declaration a `const fn`. //! |
