We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ce35e6 commit 70468caCopy full SHA for 70468ca
osc-codec-msgpack/src/lib.rs
@@ -165,7 +165,7 @@ mod tests {
165
let root = read_value(&mut cursor).expect("must decode as msgpack Value");
166
167
// Helper: unwrap serde's externally tagged enum representation
168
- fn unwrap_enum<'a>(v: &'a Value) -> (&'a str, &'a Value) {
+ fn unwrap_enum(v: &Value) -> (&str, &Value) {
169
match v {
170
// Map form: { "Variant": payload }
171
Value::Map(kv) if kv.len() == 1 => {
0 commit comments