rust/library/alloc/src
Jacob Pratt 3338ff7dcf
Rollup merge of #141108 - PaulDance:fix-extract_if-docs, r=Mark-Simulacrum
Docs(lib): Fix `extract_if` docs

Various fixes to the documentation comments of the several `extract_if` collection methods available. It originally started with a small typo fix in `Vec`'s spotted when reading the 1.87 release notes, but then by looking at the others' for comparison in order to try determining what was the intended sentence, some inconsistencies were spotted. Therefore, some other changes are also proposed here to reduce these avoidable differences, going more and more nit-picky along the way. See the individual commits for more details about each change.

`@rustbot` label T-libs A-collections A-docs
2025-05-25 04:00:56 +02:00
..
boxed library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
collections Rollup merge of #141108 - PaulDance:fix-extract_if-docs, r=Mark-Simulacrum 2025-05-25 04:00:56 +02:00
ffi update version placeholders 2025-05-12 15:33:30 +02:00
raw_vec Simplify Vec::as_non_null implementation and make it const 2025-05-05 21:56:33 +02:00
vec Docs(lib/extract_if): Unify example description 2025-05-17 02:54:21 +02:00
alloc.rs update cfgs 2025-04-09 12:29:59 +01:00
borrow.rs Fully test the alloc crate through alloctests 2025-03-07 19:11:13 +00:00
boxed.rs replace version placeholder 2025-04-09 12:29:59 +01:00
bstr.rs Fully test the alloc crate through alloctests 2025-03-07 19:11:13 +00:00
fmt.rs Fix typo in documentation 2025-04-12 22:26:38 +08: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 use generic Atomic type where possible 2025-04-27 02:18:08 +03:00
macros.rs Streamline the format macro. 2025-04-28 06:56:13 +10:00
rc.rs Update rc.rs docs 2025-05-06 13:19:42 -07:00
slice.rs docs: Specify that common sort functions sort in an ascending direction 2025-04-30 20:25:47 +02:00
str.rs add doc alias replace_first for str::replacen 2025-05-21 23:43:57 +02:00
string.rs Auto merge of #136264 - GuillaumeGomez:optimize-integers-to-string, r=Amanieu 2025-05-15 20:20:30 +00:00
sync.rs Auto merge of #136316 - GrigorenkoPV:generic_atomic, r=Mark-Simulacrum 2025-04-28 05:12:59 +00:00
task.rs Stabilize noop_waker 2024-12-05 14:14:17 -08:00