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:
commit
4aa9f63f3b
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