diff options
author | Bryan Bell <bryan.w.bell@gmail.com> | 2015-01-16 19:20:12 -0800 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-01-17 08:28:52 +0100 |
commit | e7e66b057d2a8ac5fa618f53e5c14ebf7d77ea5a (patch) | |
tree | 5d5b70796dceb76a625bb65ba0e5622803da261b | |
parent | 2cabfdd37373175d0f0a2a6e236f4a88f32b619d (diff) | |
download | glutin-e7e66b057d2a8ac5fa618f53e5c14ebf7d77ea5a.tar.gz glutin-e7e66b057d2a8ac5fa618f53e5c14ebf7d77ea5a.zip |
Change &mut self to &self in set_cursor
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } } |