diff options
| author | DeveloperC <DeveloperC@protonmail.com> | 2021-09-25 13:09:17 +0100 |
|---|---|---|
| committer | DeveloperC <DeveloperC@protonmail.com> | 2021-09-25 13:09:17 +0100 |
| commit | f83853e3426f829ec5331cbd62628ce23013df43 (patch) | |
| tree | 2e2eb19742d3e8d07e235ac87752f7862271bafd /library/alloc/src | |
| parent | 218a96cae06ed1a47549a81c09c3655fbcae1363 (diff) | |
| download | rust-f83853e3426f829ec5331cbd62628ce23013df43.tar.gz rust-f83853e3426f829ec5331cbd62628ce23013df43.zip | |
refactor: VecDeques PairSlices fields to private
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/collections/vec_deque/pair_slices.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ use super::VecDeque; /// /// 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> { |
