some more doc fixes
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2023-01-20 19:46:26 +01:00
parent 416b5c1805
commit 368331cc60
No known key found for this signature in database
GPG Key ID: BE6480244DFE612C
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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)
}