mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
Fix clippy warning for result? (#362)
This commit is contained in:
@@ -2970,10 +2970,7 @@ impl Interpreter {
|
||||
_ => bail!("internal error: rule's context already popped"),
|
||||
};
|
||||
|
||||
let result = match result {
|
||||
Ok(r) => r,
|
||||
Err(e) => return Err(e),
|
||||
};
|
||||
let result = result?;
|
||||
|
||||
assert_eq!(self.scopes.len(), n_scopes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user