From 0eb7f05eff30f3d7b16ef8cbdacb5d17f41cbd53 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 13 Mar 2019 12:04:58 -0700 Subject: [PATCH] GuiSender doesn't need to be pub --- src/frontend/glium/glutinloop.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/glium/glutinloop.rs b/src/frontend/glium/glutinloop.rs index c24a71530..501979da2 100644 --- a/src/frontend/glium/glutinloop.rs +++ b/src/frontend/glium/glutinloop.rs @@ -20,7 +20,7 @@ use std::thread; use std::time::{Duration, SystemTime}; #[derive(Clone)] -pub struct GuiSender { +struct GuiSender { tx: SyncSender, proxy: EventsLoopProxy, } @@ -36,7 +36,7 @@ impl GuiSender { } } -pub fn channel(proxy: EventsLoopProxy) -> (GuiSender, Receiver) { +fn channel(proxy: EventsLoopProxy) -> (GuiSender, Receiver) { // Set an upper bound on the number of items in the queue, so that // we don't swamp the gui loop; this puts back pressure on the // producer side so that we have a chance for eg: processing CTRL-C