Change &mut self to &self in set_cursor

This commit is contained in:
Bryan Bell 2015-01-16 19:20:12 -08:00 committed by Pierre Krieger
parent 2cabfdd373
commit e7e66b057d

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