mirror of
https://github.com/storytold/winit.git
synced 2026-11-24 05:10:57 +01:00
Change &mut self to &self in set_cursor
This commit is contained in:
1 parent
2cabfdd373
commit
e7e66b057d
1 file changed
+1
-1
+1
-1
@@ -618,7 +618,7 @@ impl Window {
|
||||
|
||||
/// Modifies the mouse cursor of the window.
|
||||
/// Has no effect on Android.
|
||||
pub fn set_cursor(&mut self, cursor: MouseCursor) {
|
||||
pub fn set_cursor(&self, cursor: MouseCursor) {
|
||||
self.window.set_cursor(cursor);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user