mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Auto merge of #77981 - GuillaumeGomez:rollup-64ydc5g, r=GuillaumeGomez
Rollup of 3 pull requests Successful merges: - #77963 (Fix link to foreign calling conventions) - #77978 (Fix typo in documentation) - #77979 (Hide help button on mobile) Failed merges: r? `@ghost`
This commit is contained in:
commit
dd7fc54ebd
@ -815,7 +815,7 @@ impl From<Cow<'_, str>> for Box<str> {
|
|||||||
|
|
||||||
#[stable(feature = "boxed_str_conv", since = "1.19.0")]
|
#[stable(feature = "boxed_str_conv", since = "1.19.0")]
|
||||||
impl From<Box<str>> for Box<[u8]> {
|
impl From<Box<str>> for Box<[u8]> {
|
||||||
/// Converts a `Box<str>>` into a `Box<[u8]>`
|
/// Converts a `Box<str>` into a `Box<[u8]>`
|
||||||
///
|
///
|
||||||
/// This conversion does not allocate on the heap and happens in place.
|
/// This conversion does not allocate on the heap and happens in place.
|
||||||
///
|
///
|
||||||
|
@ -1118,6 +1118,8 @@ mod prim_ref {}
|
|||||||
/// For more information and a list of supported ABIs, see [the nomicon's
|
/// For more information and a list of supported ABIs, see [the nomicon's
|
||||||
/// section on foreign calling conventions][nomicon-abi].
|
/// section on foreign calling conventions][nomicon-abi].
|
||||||
///
|
///
|
||||||
|
/// [nomicon-abi]: ../nomicon/ffi.html#foreign-calling-conventions
|
||||||
|
///
|
||||||
/// ### Variadic functions
|
/// ### Variadic functions
|
||||||
///
|
///
|
||||||
/// Extern function declarations with the "C" or "cdecl" ABIs can also be *variadic*, allowing them
|
/// Extern function declarations with the "C" or "cdecl" ABIs can also be *variadic*, allowing them
|
||||||
|
@ -1540,6 +1540,14 @@ h4 > .notable-traits {
|
|||||||
left: 0;
|
left: 0;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* We don't display the help button on mobile devices. */
|
||||||
|
.help-button {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.search-container > div {
|
||||||
|
width: calc(100% - 32px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media print {
|
@media print {
|
||||||
|
Loading…
Reference in New Issue
Block a user