From d5d21b17551587b5d5ef526b2d7b41f55ade85cb Mon Sep 17 00:00:00 2001 From: Doonv <58695417+doonv@users.noreply.github.com> Date: Fri, 16 Aug 2024 18:03:26 +0300 Subject: [PATCH] Fix typo --- src/logging.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logging.rs b/src/logging.rs index 3100db4..1c375ad 100644 --- a/src/logging.rs +++ b/src/logging.rs @@ -15,9 +15,9 @@ pub fn custom_log_layer(app: &mut App) -> Option { } fn create_custom_log_layer(app: &mut App) -> LogCaptureLayer { - let (sender, reciever) = mpsc::channel(); + let (sender, receiver) = mpsc::channel(); app.add_event::(); - app.insert_non_send_resource(CapturedLogEvents(reciever)); + app.insert_non_send_resource(CapturedLogEvents(receiver)); app.add_systems(PostUpdate, transfer_log_events); LogCaptureLayer { sender }