From fd5347429e9c5e1da7ae0d3b4427c2bdddd27378 Mon Sep 17 00:00:00 2001 From: Antoine Catton Date: Fri, 24 May 2024 19:13:03 +0200 Subject: [PATCH] Fix the last issue raised by clippy nightly I'm sorry about the noisy git history. I just hate force-pushing, as I find it rude, you're just overrideing other people's history. Once you publish it's for life. Anyway, I'm not able these tests locally for now, so my only feedback is github actions. And I've messed up in a3630297c and missed this part. I'll work in running these test in a container next time. --- tests/test_value.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_value.rs b/tests/test_value.rs index 16681bc..5a492db 100644 --- a/tests/test_value.rs +++ b/tests/test_value.rs @@ -143,7 +143,7 @@ fn test_tagged() { Variant(usize), } - let value = serde_yaml_ng::to_value(&Enum::Variant(0)).unwrap(); + let value = serde_yaml_ng::to_value(Enum::Variant(0)).unwrap(); let deserialized: serde_yaml_ng::Value = serde_yaml_ng::from_value(value.clone()).unwrap(); assert_eq!(value, deserialized);