rust/library/alloc/src
Samuel Tardieu d082ff4c04
Rollup merge of #144478 - joshtriplett:doc-code-formatting-prep, r=Amanieu
Improve formatting of doc code blocks

We don't currently apply automatic formatting to doc comment code blocks. As a
result, it has built up various idiosyncracies, which make such automatic
formatting difficult. Some of those idiosyncracies also make things harder for
human readers or other tools.

This PR makes a few improvements to doc code formatting, in the hopes of making
future automatic formatting easier, as well as in many cases providing net
readability improvements.

I would suggest reading each commit separately, as each commit contains one
class of changes.
2025-08-02 11:24:24 +02:00
..
boxed add const_make_global; err for const_allocate ptrs if didn't call 2025-07-16 00:32:12 +08:00
collections Implement push_mut 2025-07-30 12:26:16 -05:00
ffi Rollup merge of #137268 - bjoernager:c-string-eq-c-str, r=Amanieu 2025-06-24 15:39:37 +02:00
raw_vec Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
vec Rollup merge of #144478 - joshtriplett:doc-code-formatting-prep, r=Amanieu 2025-08-02 11:24:24 +02:00
alloc.rs Make __rust_alloc_error_handler_should_panic a function 2025-07-03 10:52:21 -07:00
borrow.rs Fully test the alloc crate through alloctests 2025-03-07 19:11:13 +00:00
boxed.rs Remove PointerLike trait 2025-07-03 20:03:49 +00:00
bstr.rs Fully test the alloc crate through alloctests 2025-03-07 19:11:13 +00:00
fmt.rs docs(alloc::fmt): Make type optional, instead of matching the empty string 2025-07-13 23:24:27 +01:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Remove [T]::array_chunks(_mut) 2025-07-27 23:03:07 -07:00
macros.rs Streamline the format macro. 2025-04-28 06:56:13 +10:00
rc.rs Change {Box,Arc,Rc,Weak}::into_raw to only work with A = Global 2025-07-01 18:25:30 +02:00
slice.rs Remove [T]::array_chunks(_mut) 2025-07-27 23:03:07 -07:00
str.rs remove extraneous text 2025-06-06 06:39:51 +02:00
string.rs Rollup merge of #144478 - joshtriplett:doc-code-formatting-prep, r=Amanieu 2025-08-02 11:24:24 +02:00
sync.rs Change {Box,Arc,Rc,Weak}::into_raw to only work with A = Global 2025-07-01 18:25:30 +02:00
task.rs Stabilize noop_waker 2024-12-05 14:14:17 -08:00