chore: fix SequenceNotMonotonic error message (#664)

* chore: fix SequenceNotMonotonic error message

previous sequence should greater than or equal to given sequence

* Apply suggestions from code review

Co-authored-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
Yingwen
2022-11-30 11:58:43 +08:00
committed by GitHub
parent 53ab19ea5a
commit a17dcbc511

View File

@@ -218,7 +218,7 @@ pub enum Error {
},
#[snafu(display(
"Sequence of region should increase monotonically ({} > {})",
"Sequence of region should increase monotonically (should be {} < {})",
prev,
given
))]