mirror of https://github.com/zcash/halo2.git
Clarify some comments and messages
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
0946bdb455
commit
69c138c25c
|
@ -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(()));
|
||||||
/// ```
|
/// ```
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue