Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
is-it-ayush committed Feb 26, 2024
1 parent 2835fbc commit f33d242
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/protocol/deserializer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ impl<'de> CustomDeserializer<'de> {
/// Parses a boolean value from the input.
pub fn parse_bool(&mut self) -> Result<bool, Error> {
Ok(self.eat_bit()?)
self.eat_bit()
}
/// Parses an unsigned integer value from the input.
pub fn parse_unsigned<T>(&mut self) -> Result<T, Error>
Expand Down
2 changes: 1 addition & 1 deletion src/protocol/serializer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl CustomSerializer {
}

/// Serialize a token to the data.
pub fn serialize_token(&mut self, token: Delimiter) -> () {
pub fn serialize_token(&mut self, token: Delimiter) {
match token {
Delimiter::String => {
self.data
Expand Down

0 comments on commit f33d242

Please sign in to comment.