refactor: VecDeques PairSlices fields to private

This commit is contained in:
DeveloperC 2021-09-25 13:09:17 +01:00
parent 218a96cae0
commit f83853e342

View file

@ -20,10 +20,10 @@ use super::VecDeque;
/// ///
/// and the uneven remainder of either A or B is skipped. /// and the uneven remainder of either A or B is skipped.
pub struct PairSlices<'a, 'b, T> { pub struct PairSlices<'a, 'b, T> {
pub(crate) a0: &'a mut [T], a0: &'a mut [T],
pub(crate) a1: &'a mut [T], a1: &'a mut [T],
pub(crate) b0: &'b [T], b0: &'b [T],
pub(crate) b1: &'b [T], b1: &'b [T],
} }
impl<'a, 'b, T> PairSlices<'a, 'b, T> { impl<'a, 'b, T> PairSlices<'a, 'b, T> {