mirror of
https://github.com/sile/hls_m3u8.git
synced 2024-11-21 23:01:00 +00:00
Fix incorrect doc test {.should_panic}
attribute
This commit is contained in:
parent
8432c003d1
commit
4f1c1fe32c
2 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@ impl<'a> ExtXKey<'a> {
|
|||
/// );
|
||||
/// ```
|
||||
///
|
||||
/// ```{.should_panic}
|
||||
/// ```should_panic
|
||||
/// # use hls_m3u8::tags::ExtXKey;
|
||||
/// use hls_m3u8::types::DecryptionKey;
|
||||
///
|
||||
|
|
|
@ -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();
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue