diff --git a/Cargo.toml b/Cargo.toml index 623bd13..31a41ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "asn1_der" -version = "0.7.1" +version = "0.7.2" edition = "2018" authors = ["KizzyCode Software Labs./Keziah Biermann "] keywords = ["asn1", "asn1-der", "serialize", "deserialize", "no_panic"] diff --git a/src/error.rs b/src/error.rs index db1eb87..afdbd31 100644 --- a/src/error.rs +++ b/src/error.rs @@ -91,7 +91,7 @@ impl Asn1DerErrorVariant { /// `no_panic` because either way we have to assume that the code in the standard library is /// correct – see also /// [Is there a way to use potentially panicking code in a #[no_panic] function #16](https://github.com/dtolnay/no-panic/issues/16)_ - #[inline(never)] + #[inline(never)] #[allow(improper_ctypes_definitions)] extern "C" fn write(f: &mut Formatter, kind: &str, desc: &str) -> fmt::Result { write!(f, "{}: {}", kind, desc) } @@ -148,7 +148,7 @@ impl Asn1DerError { /// `no_panic` because either way we have to assume that the code in the standard library is /// correct – see also /// [Is there a way to use potentially panicking code in a #[no_panic] function #16](https://github.com/dtolnay/no-panic/issues/16)_ - #[inline(never)] + #[inline(never)] #[allow(improper_ctypes_definitions)] extern "C" fn write(f: &mut Formatter, variant: &Asn1DerErrorVariant, source: &Option) -> fmt::Result { diff --git a/src/typed/utf8_string.rs b/src/typed/utf8_string.rs index f5ff156..5285c86 100644 --- a/src/typed/utf8_string.rs +++ b/src/typed/utf8_string.rs @@ -42,7 +42,7 @@ impl<'a> Utf8String<'a> { /// `no_panic` because either way we have to assume that the code in the standard library is /// correct – see also /// [Is there a way to use potentially panicking code in a #[no_panic] function #16](https://github.com/dtolnay/no-panic/issues/16)_ - #[inline(never)] + #[inline(never)] #[allow(improper_ctypes_definitions)] extern "C" fn is_utf8(slice: &[u8]) -> bool { str::from_utf8(slice).is_ok() }