mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
remove unused Result wrapper
This commit is contained in:
parent
c93cfd0993
commit
d5b010cb13
2 changed files with 12 additions and 18 deletions
|
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue