From 294ae2cf52d0fdc33c97c5be8636a5ed1cb6201c Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 26 Oct 2022 00:29:11 +0200 Subject: [PATCH] some minor adaptions --- fsrc-core/src/hal/mod.rs | 1 + fsrc-core/src/pus/mod.rs | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fsrc-core/src/hal/mod.rs b/fsrc-core/src/hal/mod.rs index ddaf8f3..c422a72 100644 --- a/fsrc-core/src/hal/mod.rs +++ b/fsrc-core/src/hal/mod.rs @@ -1,3 +1,4 @@ //! # Hardware Abstraction Layer module #[cfg(feature = "std")] +#[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] pub mod host; diff --git a/fsrc-core/src/pus/mod.rs b/fsrc-core/src/pus/mod.rs index a09b398..82e49f9 100644 --- a/fsrc-core/src/pus/mod.rs +++ b/fsrc-core/src/pus/mod.rs @@ -32,8 +32,9 @@ impl From for EcssTmError { } } -/// Generic trait for a user supplied sender object. This sender object is responsible for sending -/// telemetry to a TM sink. The [Downcast] trait +/// Generic trait for a user supplied sender object. +/// +/// This sender object is responsible for sending telemetry to a TM sink. The [Downcast] trait /// is implemented to allow passing the sender as a boxed trait object and still retrieve the /// concrete type at a later point. pub trait EcssTmSender: Downcast + Send {