]> git.lizzy.rs Git - rust.git/commit
refactor: VecDeques IterMut fields to private
authorDeveloperC <DeveloperC@protonmail.com>
Sat, 25 Sep 2021 12:55:45 +0000 (13:55 +0100)
committerDeveloperC <DeveloperC@protonmail.com>
Tue, 5 Oct 2021 18:09:49 +0000 (19:09 +0100)
commit5af61cb114e4af46e5c1c6c97b4556d5f007536f
tree4cbcdf6d717af2004426542a8f184e1bd31e086e
parent25ec8273855fde2d72ae877b397e054de5300e10
refactor: VecDeques IterMut fields to private

Made the fields of VecDeque's IterMut private by creating a IterMut::new(...) function to create a new instance of IterMut and migrating usage to use IterMut::new(...).
library/alloc/src/collections/vec_deque/iter_mut.rs
library/alloc/src/collections/vec_deque/mod.rs