Skip to content

Commit e64d4c9

Browse files
committed
[update] redraw to not use mutable reference to self.
1 parent f96b258 commit e64d4c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lambda/src/core/render/window.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ impl Window {
6868
}
6969

7070
/// Redraws the window.
71-
pub fn redraw(&mut self) {
71+
pub fn redraw(&self) {
7272
self.window_handle.window_handle.request_redraw();
7373
}
7474

0 commit comments

Comments
 (0)