From 368331cc60196d3731c650582c8d00fee01dc0a4 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 20 Jan 2023 19:46:26 +0100 Subject: [PATCH] some more doc fixes --- src/time/mod.rs | 2 +- src/tm.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/time/mod.rs b/src/time/mod.rs index 70d7121..c8bddee 100644 --- a/src/time/mod.rs +++ b/src/time/mod.rs @@ -206,7 +206,7 @@ pub trait TimeReader { /// Trait for generic CCSDS time providers. /// -/// The UNIX helper methods and the [date_time] method are not strictly necessary but extremely +/// The UNIX helper methods and the [Self::date_time] method are not strictly necessary but extremely /// practical because they are a very common and simple exchange format for time information. pub trait CcsdsTimeProvider { fn len_as_bytes(&self) -> usize; diff --git a/src/tm.rs b/src/tm.rs index 7881b27..6a79188 100644 --- a/src/tm.rs +++ b/src/tm.rs @@ -123,7 +123,7 @@ impl<'stamp> PusTmSecondaryHeader<'stamp> { Self::new(service, subservice, 0, 0, Some(timestamp)) } - /// Like [new_simple] but without a timestamp. + /// Like [Self::new_simple] but without a timestamp. pub fn new_simple_no_timestamp(service: u8, subservice: u8) -> Self { Self::new(service, subservice, 0, 0, None) }