mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 11:04:03 +00:00
Rollup merge of #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.
This commit is contained in:
commit
eeadc9d63f
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user