Skip to content

Commit b7de2f9

Browse files
ealmloffchunleng
authored andcommitted
Merge pull request DioxusLabs#88 from Kbz-8/main
Replacing set_dir! string literal input by expression
1 parent 6943996 commit b7de2f9

File tree

1 file changed

+1
-1
lines changed
  • packages/storage/src/client_storage

1 file changed

+1
-1
lines changed

packages/storage/src/client_storage/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ macro_rules! set_dir {
2323
#[cfg(not(target_family = "wasm"))]
2424
$crate::set_dir_name(env!("CARGO_PKG_NAME"))
2525
};
26-
($path: literal) => {
26+
($path:expr) => {
2727
#[cfg(not(target_family = "wasm"))]
2828
$crate::set_directory(std::path::PathBuf::from($path))
2929
};

0 commit comments

Comments
 (0)