]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge tag 'alloc-7.2-rc1' of https://github.com/Rust-for-Linux/linux into rust-next
authorMiguel Ojeda <ojeda@kernel.org>
Thu, 28 May 2026 07:25:41 +0000 (09:25 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 28 May 2026 07:25:41 +0000 (09:25 +0200)
commit3cd202c03934a2c0d95e12aff90def47ec2e20f7
tree5ca726af81dca2006467cb3641650fdbff06c5d6
parent72d33b8bfeacbfdccf2cda4650e8e002def036f8
parentec51531fb8efda9b75316111c040dd756f815b0c
Merge tag 'alloc-7.2-rc1' of https://github.com/Rust-for-Linux/linux into rust-next

Pull alloc updates from Danilo Krummrich:

 - Fix the 'Vec::reserve()' doctest to properly account for the existing
   vector length in the capacity assertion.

 - Fix an incorrect operator in the 'Vec::extend_with()' SAFETY comment;
   add a doc test demonstrating basic usage and the zero-length case.

 - Cleanup all imports in the alloc module and its doctests to use the
   "kernel vertical" import style.

* tag 'alloc-7.2-rc1' of https://github.com/Rust-for-Linux/linux:
  rust: alloc: cleanup doctest imports to "kernel vertical" style
  rust: alloc: cleanup imports and use "kernel vertical" style
  rust: alloc: fix `Vec::extend_with` SAFETY comment
  rust: alloc: add doc test for `Vec::extend_with`
  rust: alloc: fix assert in `Vec::reserve` doc test