Skip to content

Commit c2a4560

Browse files
committed
fix: 🐛 added $crate to invocation of define_app!
Allows `define_app!` usage without importing it.
1 parent b747152 commit c2a4560

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/perseus/src/macros.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ macro_rules! define_app {
162162
$(,config_manager: $config_manager:expr)?
163163
$(,translations_manager: $translations_manager:expr)?
164164
} => {
165-
define_app!(
165+
$crate::define_app!(
166166
@define_app,
167167
{
168168
$(root: $root_selector,)?
@@ -196,7 +196,7 @@ macro_rules! define_app {
196196
$(,config_manager: $config_manager:expr)?
197197
$(,translations_manager: $translations_manager:expr)?
198198
} => {
199-
define_app!(
199+
$crate::define_app!(
200200
@define_app,
201201
{
202202
$(root: $root_selector,)?

0 commit comments

Comments
 (0)