aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Bell <bryan.w.bell@gmail.com>2015-01-16 19:20:12 -0800
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-01-17 08:28:52 +0100
commite7e66b057d2a8ac5fa618f53e5c14ebf7d77ea5a (patch)
tree5d5b70796dceb76a625bb65ba0e5622803da261b
parent2cabfdd37373175d0f0a2a6e236f4a88f32b619d (diff)
downloadglutin-e7e66b057d2a8ac5fa618f53e5c14ebf7d77ea5a.tar.gz
glutin-e7e66b057d2a8ac5fa618f53e5c14ebf7d77ea5a.zip
Change &mut self to &self in set_cursor
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a23523e..12a908c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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);
}
}