diff --git a/src/cfdp/lv.rs b/src/cfdp/lv.rs index cf6f209..96f932d 100644 --- a/src/cfdp/lv.rs +++ b/src/cfdp/lv.rs @@ -100,7 +100,7 @@ impl<'data> Lv<'data> { /// known to contain a [str], for example being a file name. pub fn value_as_str(&self) -> Option> { self.data?; - Some(std::str::from_utf8(self.data.unwrap())) + Some(core::str::from_utf8(self.data.unwrap())) } /// Writes the LV to a raw buffer. Please note that the first byte will contain the length