doc cfg support
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit

This commit is contained in:
2022-10-26 00:22:56 +02:00
parent a2673c9870
commit 65e85f20e0
6 changed files with 12 additions and 1 deletions

View File

@ -352,6 +352,7 @@ impl<'slice> PusTm<'slice> {
/// Append the raw PUS byte representation to a provided [alloc::vec::Vec]
#[cfg(feature = "alloc")]
#[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))]
pub fn append_to_vec(&self, vec: &mut Vec<u8>) -> Result<usize, PusError> {
let sph_zc = crate::zc::SpHeader::from(self.sp_header);
let mut appended_len =