Skip to content

Commit

Permalink
refactor(clippy): fix clippy warnings from new Rust toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
parfeon committed Oct 30, 2023
1 parent 5a28961 commit 0ac0248
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/dx/parse_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ impl Deserializer for CiboriumDeserializer {
&self,
bytes: &[u8],
) -> Result<Token, PubNubError> {
use crate::lib::core::ops::Deref;

from_reader(bytes.deref()).map_err(|e| PubNubError::TokenDeserialization {
from_reader(bytes).map_err(|e| PubNubError::TokenDeserialization {
details: e.to_string(),
})
}
Expand Down

0 comments on commit 0ac0248

Please sign in to comment.