mirror of
https://github.com/sile/hls_m3u8.git
synced 2024-11-29 02:00:59 +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::tags::ExtXKey;
|
||||||
/// use hls_m3u8::types::DecryptionKey;
|
/// use hls_m3u8::types::DecryptionKey;
|
||||||
///
|
///
|
||||||
|
|
|
@ -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();
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue