Clarify some comments and messages

Co-authored-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
str4d 2022-04-19 16:04:19 +02:00 committed by GitHub
parent 0946bdb455
commit 69c138c25c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -809,7 +809,7 @@ impl<F: FieldExt> MockProver<F> {
/// Any verification failures will be pretty-printed to stderr before the function /// Any verification failures will be pretty-printed to stderr before the function
/// panics. /// panics.
/// ///
/// This method is equivalent to: /// Apart from the stderr output, this method is equivalent to:
/// ```ignore /// ```ignore
/// assert_eq!(prover.verify(), Ok(())); /// assert_eq!(prover.verify(), Ok(()));
/// ``` /// ```

View File

@ -37,7 +37,7 @@ impl fmt::Display for FailureLocation {
match self { match self {
Self::InRegion { region, offset } => write!(f, "in {} at offset {}", region, offset), Self::InRegion { region, offset } => write!(f, "in {} at offset {}", region, offset),
Self::OutsideRegion { row } => { Self::OutsideRegion { row } => {
write!(f, "on row {}", row) write!(f, "outside any region, on row {}", row)
} }
} }
} }