v0.7.0 beta #21

Merged
muellerr merged 4 commits from prep_v0.7.0-beta into main 2023-08-16 14:22:41 +02:00
Showing only changes of commit ffd1bf3769 - Show all commits

View File

@ -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<Lv<'data>, TlvLvError> {
Self::new(string.as_bytes())
}