Skip to content

Commit 27eddab

Browse files
authored
Rollup merge of rust-lang#89244 - DeveloperC286:pair_slices_fields_to_private, r=joshtriplett
refactor: VecDeques PairSlices fields to private Reducing VecDeque's PairSlices fields to private, a `from(...)` method is already used to create PairSlices.
2 parents 117270d + f83853e commit 27eddab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

library/alloc/src/collections/vec_deque/pair_slices.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ use super::VecDeque;
2020
///
2121
/// and the uneven remainder of either A or B is skipped.
2222
pub struct PairSlices<'a, 'b, T> {
23-
pub(crate) a0: &'a mut [T],
24-
pub(crate) a1: &'a mut [T],
25-
pub(crate) b0: &'b [T],
26-
pub(crate) b1: &'b [T],
23+
a0: &'a mut [T],
24+
a1: &'a mut [T],
25+
b0: &'b [T],
26+
b1: &'b [T],
2727
}
2828

2929
impl<'a, 'b, T> PairSlices<'a, 'b, T> {

0 commit comments

Comments
 (0)