remove unused Result wrapper

This commit is contained in:
Folkert 2022-05-08 17:03:08 +02:00
parent c93cfd0993
commit d5b010cb13
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 12 additions and 18 deletions

View file

@ -352,7 +352,7 @@ pub fn canonicalize_module_defs<'a>(
};
match sort_can_defs(&mut env, defs, new_output) {
(Ok(mut declarations), mut output) => {
(mut declarations, mut output) => {
use crate::def::Declaration::*;
let symbols_from_requires = symbols_from_requires
@ -582,7 +582,6 @@ pub fn canonicalize_module_defs<'a>(
Ok(output)
}
(Err(runtime_error), _) => Err(runtime_error),
}
}