From 0451bbc124d8cb6f67cae0d4ff5f5d712808ca5b Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 28 Feb 2024 16:16:45 +0100 Subject: [PATCH] some import fixes --- satrs/src/mode.rs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/satrs/src/mode.rs b/satrs/src/mode.rs index 8cbd444..17f2393 100644 --- a/satrs/src/mode.rs +++ b/satrs/src/mode.rs @@ -200,7 +200,9 @@ pub trait ModeRequestHandler: ModeProvider { #[cfg(feature = "alloc")] #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] pub mod alloc_mod { - use crate::request::{MessageSenderAndReceiver, RequestAndReplySenderAndReceiver}; + use crate::request::{ + MessageSender, MessageSenderAndReceiver, RequestAndReplySenderAndReceiver, + }; use super::*; @@ -350,7 +352,7 @@ pub mod std_mod { use std::sync::mpsc; use crate::request::{ - MessageSenderAndReceiver, MessageSenderMap, MessageSenderMapWithId, + MessageSender, MessageSenderAndReceiver, MessageSenderMap, MessageSenderMapWithId, RequestAndReplySenderAndReceiver, }; @@ -499,4 +501,8 @@ pub mod std_mod { } #[cfg(test)] -mod tests {} +mod tests { + + #[test] + fn test_request_sender() {} +}