From 6ab05e2d8333d439bfc341542a700314efd49a2f Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 16 Aug 2023 18:19:15 +0200 Subject: [PATCH] fix for docs --- src/cfdp/lv.rs | 2 +- src/cfdp/tlv/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cfdp/lv.rs b/src/cfdp/lv.rs index 18329ef..2e56794 100644 --- a/src/cfdp/lv.rs +++ b/src/cfdp/lv.rs @@ -12,7 +12,7 @@ pub const MIN_LV_LEN: usize = 1; /// Generic CFDP length-value (LV) abstraction as specified in CFDP 5.1.8. /// /// Please note that this class is zero-copy and does not generate a copy of the value data for -/// both the regular [new] constructor and the [Self::from_bytes] constructor. +/// both the regular [Self::new] constructor and the [Self::from_bytes] constructor. /// /// # Lifetimes /// * `data`: If the LV is generated from a raw bytestream, this will be the lifetime of diff --git a/src/cfdp/tlv/mod.rs b/src/cfdp/tlv/mod.rs index d6d2f4b..3cad599 100644 --- a/src/cfdp/tlv/mod.rs +++ b/src/cfdp/tlv/mod.rs @@ -73,7 +73,7 @@ impl From for u8 { /// Generic CFDP type-length-value (TLV) abstraction as specified in CFDP 5.1.9. /// /// Please note that this class is zero-copy and does not generate a copy of the value data for -/// both the regular [new] constructor and the [Self::from_bytes] constructor. +/// both the regular [Self::new] constructor and the [Self::from_bytes] constructor. /// /// # Lifetimes /// * `data`: If the TLV is generated from a raw bytestream, this will be the lifetime of