Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Chi Z <chi@neon.tech>
  • Loading branch information
skyzh committed Apr 29, 2024
1 parent 2d87183 commit 01b24f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/pageserver_api/src/keyspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ impl KeyPartitioning {
/// Convert a key partitioning to a sparse partition.
pub fn into_sparse(self) -> SparseKeyPartitioning {
SparseKeyPartitioning {
parts: self.parts.into_iter().map(|x| SparseKeySpace(x)).collect(),
parts: self.parts.into_iter().map(SparseKeySpace).collect(),
}
}
}
Expand Down

0 comments on commit 01b24f3

Please sign in to comment.