style(enable trailing commas in asset_map!)

This commit is contained in:
Brooks J Rady 2021-02-23 19:11:19 +00:00
parent ee65f402c8
commit 8d923ec6fd
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
#[macro_export]
macro_rules! asset_map {
($($src:literal => $dst:literal),+) => {
($($src:literal => $dst:literal),+ $(,)?) => {
{
let mut assets = std::collections::HashMap::new();
$(

View file

@ -35,7 +35,7 @@ pub fn main() {
"target/status-bar.wasm" => "plugins/status-bar.wasm",
"target/strider.wasm" => "plugins/strider.wasm",
"assets/layouts/default.yaml" => "layouts/default.yaml",
"assets/layouts/strider.yaml" => "layouts/strider.yaml"
"assets/layouts/strider.yaml" => "layouts/strider.yaml",
};
for (path, bytes) in assets {