mirror of
https://github.com/torvalds/linux.git
synced 2026-08-03 13:58:32 +02:00
Fix an incorrect operator in the SAFETY comment, changing `<` to `<=`,
since `Vec::reserve` guarantees capacity for exactly n additional elements,
so the equal case should be included.
Signed-off-by: Hsiu Che Yu <yu.whisper.personal@gmail.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Fixes:
|
||
|---|---|---|
| .. | ||
| allocator | ||
| kvec | ||
| allocator.rs | ||
| kbox.rs | ||
| kvec.rs | ||
| layout.rs | ||