]> git.lizzy.rs Git - rust.git/commitdiff
refactor: VecDeques PairSlices fields to private
authorDeveloperC <DeveloperC@protonmail.com>
Sat, 25 Sep 2021 12:09:17 +0000 (13:09 +0100)
committerDeveloperC <DeveloperC@protonmail.com>
Sat, 25 Sep 2021 12:09:17 +0000 (13:09 +0100)
library/alloc/src/collections/vec_deque/pair_slices.rs

index 8e3ac9cfd1d87dc919b7cce59bd8fb1ee8a3b663..6735424a3ef33c1c04dd1094f0dcbe5e620fc06a 100644 (file)
 ///
 /// 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> {