Skip to content

Commit

Permalink
Use new vec syntax in map_range_for_cherry_pick()
Browse files Browse the repository at this point in the history
Use new vec syntax in map_range_for_cherry_pick() so that we don't have
the noise of the linter complaining.

<!-- ps-id: 79c1409e-ae05-430a-94e5-d18c6fa6436e -->
  • Loading branch information
drewdeponte committed Mar 22, 2023
1 parent 8d1a529 commit c776294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ps/private/cherry_picking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub enum MapRangeForCherryPickError {
}

pub fn map_range_for_cherry_pick(
patches_vec: &Vec<ps::ListPatch>,
patches_vec: &[ps::ListPatch],
start_patch_index: usize,
end_patch_index: Option<usize>,
) -> Result<CherryPickRange, MapRangeForCherryPickError> {
Expand Down

0 comments on commit c776294

Please sign in to comment.