gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Sutichaykuna

Minor: 'CellOccupancyMatrix::is_area_in_range()' now immutable (#516)

6cf79606d96aa7ab788fcb370b4a680abd45e699 · ruwaq Yurii Nakonechnyi · (3 wata ñawpaq) · tayta 897487810 · kay commitpi sach'ata qhaway

Semántico sayk'uy · 1

src/compute/grid/types/cell_occupancy.rs

1 qillqakuna · +1 −1

diff --git a/src/compute/grid/types/cell_occupancy.rs b/src/compute/grid/types/cell_occupancy.rs
index 5e011c64c..ff0727492 100644
--- a/src/compute/grid/types/cell_occupancy.rs
+++ b/src/compute/grid/types/cell_occupancy.rs
@@ -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>,