style(enable trailing commas in asset_map!)
This commit is contained in:
parent
ee65f402c8
commit
8d923ec6fd
2 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
$(
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue