Merge pull request #206 from tomaka/non-mutable-set-cursor

Change &mut self to &self in set_cursor
This commit is contained in:
tomaka 2015-01-17 08:46:25 +01:00
commit f1ec5db585

View file

@ -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);
}
}