From e7e66b057d2a8ac5fa618f53e5c14ebf7d77ea5a Mon Sep 17 00:00:00 2001 From: Bryan Bell Date: Fri, 16 Jan 2015 19:20:12 -0800 Subject: Change &mut self to &self in set_cursor --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } } -- cgit v1.2.3