From: DeveloperC Date: Sat, 25 Sep 2021 12:09:17 +0000 (+0100) Subject: refactor: VecDeques PairSlices fields to private X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;ds=sidebyside;h=f83853e3426f829ec5331cbd62628ce23013df43;p=rust.git refactor: VecDeques PairSlices fields to private --- diff --git a/library/alloc/src/collections/vec_deque/pair_slices.rs b/library/alloc/src/collections/vec_deque/pair_slices.rs index 8e3ac9cfd1d..6735424a3ef 100644 --- a/library/alloc/src/collections/vec_deque/pair_slices.rs +++ b/library/alloc/src/collections/vec_deque/pair_slices.rs @@ -20,10 +20,10 @@ /// /// and the uneven remainder of either A or B is skipped. pub struct PairSlices<'a, 'b, T> { - pub(crate) a0: &'a mut [T], - pub(crate) a1: &'a mut [T], - pub(crate) b0: &'b [T], - pub(crate) b1: &'b [T], + a0: &'a mut [T], + a1: &'a mut [T], + b0: &'b [T], + b1: &'b [T], } impl<'a, 'b, T> PairSlices<'a, 'b, T> {