diff --git a/src/tags/media_segment/key.rs b/src/tags/media_segment/key.rs index 74549ea..7880c61 100644 --- a/src/tags/media_segment/key.rs +++ b/src/tags/media_segment/key.rs @@ -117,7 +117,7 @@ impl<'a> ExtXKey<'a> { /// ); /// ``` /// - /// ```{.should_panic} + /// ```should_panic /// # use hls_m3u8::tags::ExtXKey; /// use hls_m3u8::types::DecryptionKey; /// diff --git a/src/types/key_format_versions.rs b/src/types/key_format_versions.rs index 021dcdf..dcd0ec4 100644 --- a/src/types/key_format_versions.rs +++ b/src/types/key_format_versions.rs @@ -82,7 +82,7 @@ impl KeyFormatVersions { /// /// This will panic, because it exceeded the maximum number of elements: /// - /// ```{.should_panic} + /// ```should_panic /// # use hls_m3u8::types::KeyFormatVersions; /// let mut versions = KeyFormatVersions::new(); ///