fix Executor names copypasta
This commit is contained in:
1 parent
1c06430b3a
commit
ff64ba727b
2 files changed
+2
-2
No files matched your search
@@ -19,7 +19,7 @@ struct MuxExecutor {
|
||||
|
||||
impl Executor for MuxExecutor {
|
||||
fn execute(&self, f: SpawnFunc) {
|
||||
self.tx.send(f).expect("GlutinExecutor execute failed");
|
||||
self.tx.send(f).expect("MuxExecutor execute failed");
|
||||
}
|
||||
fn clone_executor(&self) -> Box<Executor> {
|
||||
Box::new(MuxExecutor {
|
||||
|
||||
@@ -33,7 +33,7 @@ pub struct X11GuiExecutor {
|
||||
|
||||
impl Executor for X11GuiExecutor {
|
||||
fn execute(&self, f: SpawnFunc) {
|
||||
self.tx.send(f).expect("GlutinExecutor execute failed");
|
||||
self.tx.send(f).expect("X11GuiExecutor execute failed");
|
||||
}
|
||||
fn clone_executor(&self) -> Box<Executor> {
|
||||
Box::new(X11GuiExecutor {
|
||||
|
||||
Reference in new issue
Block a user