Skip to content

Commit

Permalink
Remove clone() call
Browse files Browse the repository at this point in the history
  • Loading branch information
ReagentX committed Dec 24, 2024
1 parent 2ccd19c commit aef0fc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imessage-database/src/util/typedstream/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@ impl<'a> TypedStreamReader<'a> {
return Ok(self.object_table.get(idx));
}
ClassResult::ClassHierarchy(classes) => {
for class in classes.iter() {
self.object_table.push(class.clone())
for class in classes.into_iter() {
self.object_table.push(class)
}
}
}
Expand Down

0 comments on commit aef0fc2

Please sign in to comment.