pvimg: Remove unnecessary references

Referencing here is superfluous and makes clippy sad.

Fixes: 87966251c4 ("pvimg: info: Improve JSON output")
Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Steffen Eiden
2026-04-07 13:58:39 +02:00
committed by Jan Höppner
parent 0f56416d82
commit 280b8509d1

View File

@@ -98,7 +98,7 @@ pub mod serde_base64 {
D: Deserializer<'de>,
{
let s = String::deserialize(deserializer)?;
BASE64_STANDARD.decode(&s).map_err(serde::de::Error::custom)
BASE64_STANDARD.decode(s).map_err(serde::de::Error::custom)
}
}
@@ -124,7 +124,7 @@ pub mod serde_base64_array {
{
let s = String::deserialize(deserializer)?;
let decoded = BASE64_STANDARD
.decode(&s)
.decode(s)
.map_err(serde::de::Error::custom)?;
try_copy_slice_to_array(&decoded).map_err(serde::de::Error::custom)
}