]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #89050 - DeveloperC286:drain_fields_to_private, r=joshtriplett
authorManish Goregaokar <manishsmail@gmail.com>
Wed, 6 Oct 2021 19:33:15 +0000 (12:33 -0700)
committerGitHub <noreply@github.com>
Wed, 6 Oct 2021 19:33:15 +0000 (12:33 -0700)
refactor: VecDeques Drain fields to private

Made the fields of VecDeque's Drain private by creating a Drain::new(...) function to create a new instance of Drain and migrating usage to use Drain::new(...).


Trivial merge