1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-11-25 08:31:00 +00:00

Fix incorrect doc test {.should_panic} attribute

This commit is contained in:
Takeru Ohta 2024-09-06 21:35:11 +09:00
parent 8432c003d1
commit 4f1c1fe32c
2 changed files with 2 additions and 2 deletions

View file

@ -117,7 +117,7 @@ impl<'a> ExtXKey<'a> {
/// ); /// );
/// ``` /// ```
/// ///
/// ```{.should_panic} /// ```should_panic
/// # use hls_m3u8::tags::ExtXKey; /// # use hls_m3u8::tags::ExtXKey;
/// use hls_m3u8::types::DecryptionKey; /// use hls_m3u8::types::DecryptionKey;
/// ///

View file

@ -82,7 +82,7 @@ impl KeyFormatVersions {
/// ///
/// This will panic, because it exceeded the maximum number of elements: /// This will panic, because it exceeded the maximum number of elements:
/// ///
/// ```{.should_panic} /// ```should_panic
/// # use hls_m3u8::types::KeyFormatVersions; /// # use hls_m3u8::types::KeyFormatVersions;
/// let mut versions = KeyFormatVersions::new(); /// let mut versions = KeyFormatVersions::new();
/// ///