Skip to content

Commit

Permalink
Minor: 'CellOccupancyMatrix::is_area_in_range()' now immutable (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
inobelar authored Jul 19, 2023
1 parent 8974878 commit 6cf7960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compute/grid/types/cell_occupancy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl CellOccupancyMatrix {

/// Determines whether the specified area fits within the tracks currently represented by the matrix
pub fn is_area_in_range(
&mut self,
&self,
primary_axis: AbsoluteAxis,
primary_range: Range<i16>,
secondary_range: Range<i16>,
Expand Down

0 comments on commit 6cf7960

Please sign in to comment.