You've already forked uutils-term-grid
mirror of
https://github.com/uutils/uutils-term-grid.git
synced 2026-06-10 16:13:01 -07:00
Remove unnecessary mut from width_dimensions parameter
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ impl<T: AsRef<str>> Grid<T> {
|
||||
}
|
||||
}
|
||||
|
||||
fn width_dimensions(&mut self) -> Dimensions {
|
||||
fn width_dimensions(&self) -> Dimensions {
|
||||
if self.cells.len() == 1 {
|
||||
let cell_widths = self.widths[0];
|
||||
return Dimensions {
|
||||
|
||||
Reference in New Issue
Block a user