diff --git a/hdf5-types/src/string.rs b/hdf5-types/src/string.rs index 3f17ae46..3f4f91a3 100644 --- a/hdf5-types/src/string.rs +++ b/hdf5-types/src/string.rs @@ -547,7 +547,7 @@ impl FromStr for FixedUnicode { type Err = StringError; fn from_str(s: &str) -> Result::Err> { - // #[allow(clippy::needless_as_bytes)] // strlen vs. number of bytes + #[allow(clippy::needless_as_bytes)] // strlen vs. number of bytes if s.as_bytes().len() <= N { unsafe { Ok(Self::from_bytes(s.as_bytes())) } } else {