Skip to content

Commit

Permalink
fix: clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
AS1100K committed Aug 10, 2024
1 parent 3a75b98 commit 513a3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ macro_rules! create_event_collection_and_handler {
pub(crate) fn send_events(
world: &mut World
) {
let discord_bot_res = world.resource::<crate::bot::DiscordBotRes>();
let discord_bot_res = world.resource::<$crate::bot::DiscordBotRes>();
if let Ok(event) = discord_bot_res.recv.try_recv() {
match event {
$(
Expand Down

0 comments on commit 513a3cc

Please sign in to comment.