Skip to content

Commit

Permalink
Remove accidental trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
bal-e committed Jan 28, 2025
1 parent f0d7c28 commit b375643
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/new_base/name/reversed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ impl<'a> ParseBytes<'a> for RevNameBuf {
fn parse_bytes(bytes: &'a [u8]) -> Result<Self, ParseError> {
match Self::split_bytes(bytes) {
Ok((this, &[])) => Ok(this),
_ => Err(ParseError),
_ => Err(ParseError),
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/new_edns/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl<'a> ParseBytes<'a> for EdnsRecord<'a> {
fn parse_bytes(bytes: &'a [u8]) -> Result<Self, ParseError> {
match Self::split_bytes(bytes) {
Ok((this, &[])) => Ok(this),
_ => Err(ParseError),
_ => Err(ParseError),
}
}
}
Expand Down Expand Up @@ -227,7 +227,7 @@ impl<'b> ParseBytes<'b> for EdnsOption<'b> {
fn parse_bytes(bytes: &'b [u8]) -> Result<Self, ParseError> {
match Self::split_bytes(bytes) {
Ok((this, &[])) => Ok(this),
_ => Err(ParseError),
_ => Err(ParseError),
}
}
}
Expand Down

0 comments on commit b375643

Please sign in to comment.