Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Commit 1581f3d

Browse files
committed
Remove unneeded mut
1 parent e345620 commit 1581f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main_context_futures.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ impl TaskSource {
204204
let waker = self.as_waker();
205205
let source = &self.source as *const _;
206206
if let Some(ref mut future) = self.future {
207-
let mut executor: MainContext =
207+
let executor: MainContext =
208208
unsafe { from_glib_none(glib_sys::g_source_get_context(mut_override(source))) };
209209

210210
assert!(

0 commit comments

Comments
 (0)