Skip to content

Commit c5fda58

Browse files
authored
Unrolled build for #141447
Rollup merge of #141447 - y86-dev:option-layout-docs, r=RalfJung Document representation of `Option<unsafe fn()>` https://rust-lang.zulipchat.com/#narrow/channel/136281-t-opsem/topic/Option.20Layout.20with.20.60fn.60.20pointers/with/520055652
2 parents cdd545b + a08f6f1 commit c5fda58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
//! | [`ptr::NonNull<U>`] | when `U: Sized` |
138138
//! | `#[repr(transparent)]` struct around one of the types in this list. | when it holds for the inner type |
139139
//!
140-
//! [^extern_fn]: this remains true for any argument/return types and any other ABI: `extern "abi" fn` (_e.g._, `extern "system" fn`)
140+
//! [^extern_fn]: this remains true for `unsafe` variants, any argument/return types, and any other ABI: `[unsafe] extern "abi" fn` (_e.g._, `extern "system" fn`)
141141
//!
142142
//! Under some conditions the above types `T` are also null pointer optimized when wrapped in a [`Result`][result_repr].
143143
//!

0 commit comments

Comments
 (0)