Skip to content

Commit

Permalink
Use Vec::default() instead of Vec::new()
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkAndshark committed Sep 6, 2023
1 parent cc699d6 commit ebec5cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion martin/src/mbtiles/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl Source for MbtSource {
"Couldn't find tile data in {}/{}/{} of {}",
xyz.z, xyz.x, xyz.y, &self.id
);
Ok(Vec::new())
Ok(Vec::default())
}
}
}
2 changes: 1 addition & 1 deletion martin/src/pmtiles/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ impl Source for PmtSource {
"Couldn't find tile data in {}/{}/{} of {}",
xyz.z, xyz.x, xyz.y, &self.id
);
Ok(Vec::new())
Ok(Vec::default())
}
}
}

0 comments on commit ebec5cd

Please sign in to comment.