mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
rust: Fix cargo clippy findings
Fix the new `cargo clippy` findings for updated 1.84 toolchain. Signed-off-by: Jakob Naucke <naucke@linux.ibm.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
646e080217
commit
152f446d76
@@ -266,7 +266,7 @@ impl<'de> Deserialize<'de> for RetrievableSecret {
|
||||
D: serde::Deserializer<'de>,
|
||||
{
|
||||
struct RetrSecretVisitor;
|
||||
impl<'de> serde::de::Visitor<'de> for RetrSecretVisitor {
|
||||
impl serde::de::Visitor<'_> for RetrSecretVisitor {
|
||||
type Value = RetrievableSecret;
|
||||
|
||||
fn expecting(&self, fmt: &mut std::fmt::Formatter) -> std::fmt::Result {
|
||||
|
||||
Reference in New Issue
Block a user