mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
a42b04c408
Rename VecDeque's `rotate_left` and `rotate_right` parameters This pull request introduces a modification to the `VecDeque` collection, specifically the `rotate_left` and `rotate_right` functions, by renaming the parameter associated with these functions. The rationale behind this change is to provide clearer and more consistent naming for the parameter that specifies the number of places to rotate the double-ended queue. By using `n` as the parameter name in both functions, it becomes easier to understand and remember the purpose of the parameter. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |