Skip to content

Commit 483461d

Browse files
committed
Clippy
1 parent 29022c3 commit 483461d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/clientspec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ mod tests {
4747
}
4848
_ => false,
4949
},
50-
None => other.payload.get("type").is_none() && other.payload.get("value").is_none(),
50+
None => !other.payload.contains_key("type") && !other.payload.contains_key("value"),
5151
};
5252
self.enabled == other.enabled && self._name == other.name && payload_matches
5353
}

0 commit comments

Comments
 (0)