Fix clippy warning for result? (#362)

This commit is contained in:
thedavemarshall
2025-01-21 10:37:54 -06:00
committed by GitHub
parent 748c11cfa1
commit 5fa55d7274

View File

@@ -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);