Remove unnecessary mut
Browse files at this commitb65fad09d8f5253a28ee7ad9d293583641fc2c36Parent: 09a559d1 changed file +1 -1
- src/niri.rs +1 -1
src/niri.rsmodified+1 -1
| @@ -2630,7 +2630,7 @@ impl Niri { | ||
| 2630 | 2630 | /// locations to global space according to where they are rendered. |
| 2631 | 2631 | /// |
| 2632 | 2632 | /// This function does not take pointer or touch grabs into account. |
| 2633 | - pub fn contents_under(&mut self, pos: Point<f64, Logical>) -> PointContents { | |
| 2633 | + pub fn contents_under(&self, pos: Point<f64, Logical>) -> PointContents { | |
| 2634 | 2634 | let mut rv = PointContents::default(); |
| 2635 | 2635 | |
| 2636 | 2636 | let Some((output, pos_within_output)) = self.output_under(pos) else { |