1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-11-21 23:01:00 +00:00

Merge pull request #75 from sile/fix-test-failure

Fix incorrect doc test `{.should_panic}` attribute
This commit is contained in:
Takeru Ohta 2024-09-06 21:42:28 +09:00 committed by GitHub
commit 4aa9f63f3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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();
/// ///