mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 10:18:12 +08:00
Remove vestigial async from the execution path
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use crate::document::NodeNetwork;
|
||||
use crate::proto::{LocalFuture, ProtoNetwork};
|
||||
use crate::proto::ProtoNetwork;
|
||||
use std::error::Error;
|
||||
|
||||
pub struct Compiler {}
|
||||
@@ -33,5 +33,5 @@ impl Compiler {
|
||||
}
|
||||
|
||||
pub trait Executor<I, O> {
|
||||
fn execute(&self, input: I) -> LocalFuture<'_, Result<O, Box<dyn Error>>>;
|
||||
fn execute(&self, input: I) -> Result<O, Box<dyn Error>>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user