diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-01-17 08:46:25 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-01-17 08:46:25 +0100 |
commit | f1ec5db5858ce679f33614bbcb978d37ff96143f (patch) | |
tree | 5d5b70796dceb76a625bb65ba0e5622803da261b /src/lib.rs | |
parent | 2cabfdd37373175d0f0a2a6e236f4a88f32b619d (diff) | |
parent | e7e66b057d2a8ac5fa618f53e5c14ebf7d77ea5a (diff) | |
download | glutin-f1ec5db5858ce679f33614bbcb978d37ff96143f.tar.gz glutin-f1ec5db5858ce679f33614bbcb978d37ff96143f.zip |
Merge pull request #206 from tomaka/non-mutable-set-cursor
Change &mut self to &self in set_cursor
Diffstat (limited to 'src/lib.rs')
-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); } } |