this might work
All checks were successful
Rust/sat-rs/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2024-02-28 15:06:05 +01:00
parent 2001813199
commit 4ed86ad3b9
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -628,7 +628,9 @@ impl WritableToBeBytes for Params {
ParamsHeapless::EcssEnum(enumeration) => enumeration.raw_len(),
},
Params::Store(_) => 0,
#[cfg(feature = "alloc")]
Params::Vec(vec) => vec.len(),
#[cfg(feature = "alloc")]
Params::String(string) => string.len(),
}
}