diff options
| author | Eric Huss <eric@huss.org> | 2025-02-12 14:09:32 -0800 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2025-02-13 13:10:27 -0800 |
| commit | 9e60b0e55428c5f719e6c9f725006434b6f9656d (patch) | |
| tree | 0181b9fad4171ad5e8f31475a5f2dad3d8c2e5ff /library/std/src/keyword_docs.rs | |
| parent | 07ebbddeff9c53a6aa631a58799ffaaa872806c1 (diff) | |
| download | rust-9e60b0e55428c5f719e6c9f725006434b6f9656d.tar.gz rust-9e60b0e55428c5f719e6c9f725006434b6f9656d.zip | |
std: Apply unsafe_attr_outside_unsafe
Diffstat (limited to 'library/std/src/keyword_docs.rs')
| -rw-r--r-- | library/std/src/keyword_docs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/keyword_docs.rs b/library/std/src/keyword_docs.rs index 825a89fc7f2..0c5783d657e 100644 --- a/library/std/src/keyword_docs.rs +++ b/library/std/src/keyword_docs.rs @@ -398,7 +398,7 @@ mod enum_keyword {} /// The mirror use case of FFI is also done via the `extern` keyword: /// /// ```rust -/// #[no_mangle] +/// #[unsafe(no_mangle)] /// pub extern "C" fn callable_from_c(x: i32) -> bool { /// x % 3 == 0 /// } |
