diff --git a/src/cfdp/lv.rs b/src/cfdp/lv.rs index 96f932d..74f0f17 100644 --- a/src/cfdp/lv.rs +++ b/src/cfdp/lv.rs @@ -70,6 +70,7 @@ impl<'data> Lv<'data> { /// Helper function to build a string LV. This is especially useful for the file or directory /// path LVs #[cfg(feature = "std")] + #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] pub fn new_from_string(string: &'data String) -> Result, TlvLvError> { Self::new(string.as_bytes()) }