Skip to content

Commit dfeea76

Browse files
committed
makes clippy happy
1 parent db008ca commit dfeea76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/search.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ mod tests {
612612
}
613613

614614
impl PartialEq<Map<String, Value>> for Document {
615+
#[allow(clippy::cmp_owned)]
615616
fn eq(&self, rhs: &Map<String, Value>) -> bool {
616617
self.id.to_string() == rhs["id"]
617618
&& self.value == rhs["value"]

0 commit comments

Comments
 (0)