Skip to content

Commit

Permalink
Replace antecedes with plain English
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin authored and djc committed Mar 12, 2021
1 parent 14fd899 commit 6376087
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/proto/src/serialize/binary/decoder.rs
Expand Up @@ -40,7 +40,9 @@ pub enum DecodeError {
InsufficientBytes,

/// slice_from was called with an invalid index
#[error("index antecedes upper bound")]
#[error(
"the index passed to BinDecoder::slice_from must be greater than the decoder position"
)]
InvalidPreviousIndex,

/// Pointer points to an index within or after the current label
Expand Down

0 comments on commit 6376087

Please sign in to comment.