Skip to content

Commit

Permalink
Fix Rust error caught by Clippy (#4713)
Browse files Browse the repository at this point in the history
Summary:
GitHub CI is red because I added this clone of a &&

Pull Request resolved: #4713

Reviewed By: monicatang

Differential Revision: D58589911

Pulled By: captbaritone

fbshipit-source-id: 7b4d31edf52c49a79b8aa1cb951f4d3061752878
  • Loading branch information
captbaritone authored and facebook-github-bot committed Jun 14, 2024
1 parent b9f59bd commit cc439c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/crates/schema/src/in_memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ impl InMemorySchema {
document
.0
.iter()
.map(|definition| (definition.clone(), document.1))
.map(|definition| (*definition, document.1))
})
.collect();

Expand All @@ -743,7 +743,7 @@ impl InMemorySchema {
document
.0
.iter()
.map(|definition| (definition.clone(), document.1))
.map(|definition| (*definition, document.1))
})
.collect();

Expand Down

0 comments on commit cc439c6

Please sign in to comment.