doc corrections

This commit is contained in:
Robin Müller 2022-12-07 22:54:03 +01:00
parent 04073a29af
commit 48e5b22c27
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -222,7 +222,7 @@ pub trait CcsdsTimeProvider {
/// Module to generate or read CDS timestamps as specified in /// Module to generate or read CDS timestamps as specified in
/// [CCSDS 301.0-B-4](https://public.ccsds.org/Pubs/301x0b4e1.pdf) section 3.3 . /// [CCSDS 301.0-B-4](https://public.ccsds.org/Pubs/301x0b4e1.pdf) section 3.3 .
/// ///
/// The core data structure to do this is the [cds::CdsTimeProvider] struct. /// The core data structure to do this is the [cds::TimeProvider] struct.
pub mod cds { pub mod cds {
use super::*; use super::*;
use crate::private::Sealed; use crate::private::Sealed;
@ -237,7 +237,7 @@ pub mod cds {
type FieldType: Copy + Clone + TryFrom<i32>; type FieldType: Copy + Clone + TryFrom<i32>;
} }
/// Type level token to be used as a generic parameter to [CdsTimeProvider]. /// Type level token to be used as a generic parameter to [TimeProvider].
#[derive(Debug, PartialEq, Eq)] #[derive(Debug, PartialEq, Eq)]
pub struct DaysLen16Bits {} pub struct DaysLen16Bits {}
@ -246,7 +246,7 @@ pub mod cds {
type FieldType = u16; type FieldType = u16;
} }
/// Type level token to be used as a generic parameter to [CdsTimeProvider]. /// Type level token to be used as a generic parameter to [TimeProvider].
pub struct DaysLen24Bits {} pub struct DaysLen24Bits {}
impl Sealed for DaysLen24Bits {} impl Sealed for DaysLen24Bits {}
impl ProvidesDaysLength for DaysLen24Bits { impl ProvidesDaysLength for DaysLen24Bits {