use AppendVecId instead of usize (#21792)

This commit is contained in:
Jeff Washington (jwash)
2021-12-11 21:38:13 -06:00
committed by GitHub
parent c5b6ea74ef
commit 825f8bcea4
2 changed files with 7 additions and 7 deletions

View File

@@ -301,7 +301,7 @@ impl AppendVec {
self.file_size
}
pub fn file_name(slot: Slot, id: usize) -> String {
pub fn file_name(slot: Slot, id: impl std::fmt::Display) -> String {
format!("{}.{}", slot, id)
}