Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HanielB committed Nov 27, 2024
1 parent a08adf9 commit c94775b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion carcara/src/ast/term.rs
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ impl Rc<Term> {
return Ok(i.to_usize().unwrap());
}
}
return Err(CheckerError::ExpectedNonnegInteger(self.clone()));
Err(CheckerError::ExpectedNonnegInteger(self.clone()))
}

/// Similar to `Term::as_signed_number`, but returns a `CheckerError` on failure.
Expand Down

0 comments on commit c94775b

Please sign in to comment.