Simplify wasm diff result types.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use super::compare::WasmDiffEntry;
|
||||
use super::compare::WasmDiffResult;
|
||||
use crate::compare::Token;
|
||||
|
||||
pub trait WasmElispCompare<'s, 'p> {
|
||||
@@ -6,5 +6,5 @@ pub trait WasmElispCompare<'s, 'p> {
|
||||
&self,
|
||||
source: &'s str,
|
||||
emacs: &'b Token<'s>,
|
||||
) -> Result<WasmDiffEntry<'b, 's>, Box<dyn std::error::Error>>;
|
||||
) -> Result<WasmDiffResult<'s>, Box<dyn std::error::Error>>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user