Skip to content

Commit

Permalink
shared: implement clippy suggestion (remove unnecessary borrow)
Browse files Browse the repository at this point in the history
  • Loading branch information
decathorpe committed Nov 23, 2022
1 parent 0d947d9 commit c0a67b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dxr_shared/src/values/ser_de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub(crate) mod base64 {
{
let string = String::deserialize(deserializer)?;

match base64::decode(&string) {
match base64::decode(string) {
Ok(value) => Ok(value),
Err(error) => Err(serde::de::Error::custom(error.to_string())),
}
Expand Down

0 comments on commit c0a67b8

Please sign in to comment.