diff --git a/src/tags/media_segment/key.rs b/src/tags/media_segment/key.rs index 9effe62..ecdc3d6 100644 --- a/src/tags/media_segment/key.rs +++ b/src/tags/media_segment/key.rs @@ -18,7 +18,7 @@ impl ExtXKey { pub(crate) const PREFIX: &'static str = "#EXT-X-KEY:"; /// Makes a new `ExtXKey` tag. - /// # Example + /// # Examples /// ``` /// use hls_m3u8::tags::ExtXKey; /// use hls_m3u8::types::EncryptionMethod; @@ -38,7 +38,7 @@ impl ExtXKey { } /// Makes a new `ExtXKey` tag without a decryption key. - /// # Example + /// # Examples /// ``` /// use hls_m3u8::tags::ExtXKey; /// @@ -60,7 +60,7 @@ impl ExtXKey { } /// Returns whether the [EncryptionMethod] is [None](EncryptionMethod::None). - /// # Example + /// # Examples /// ``` /// use hls_m3u8::tags::ExtXKey; /// use hls_m3u8::types::EncryptionMethod; diff --git a/src/types/closed_captions.rs b/src/types/closed_captions.rs index ad016f1..7b8a4c3 100644 --- a/src/types/closed_captions.rs +++ b/src/types/closed_captions.rs @@ -50,7 +50,7 @@ mod tests { } #[test] - fn test_parse() { + fn test_parser() { let closed_captions = ClosedCaptions::None; assert_eq!(closed_captions, "NONE".parse::().unwrap()); diff --git a/src/types/decimal_floating_point.rs b/src/types/decimal_floating_point.rs index a829129..af08b24 100644 --- a/src/types/decimal_floating_point.rs +++ b/src/types/decimal_floating_point.rs @@ -84,7 +84,7 @@ mod tests { } #[test] - pub fn test_parse() { + pub fn test_parser() { let decimal_floating_point = DecimalFloatingPoint::new(22.0).unwrap(); assert_eq!( decimal_floating_point, diff --git a/src/types/decimal_resolution.rs b/src/types/decimal_resolution.rs index 7d225c6..fb5719e 100644 --- a/src/types/decimal_resolution.rs +++ b/src/types/decimal_resolution.rs @@ -90,7 +90,7 @@ mod tests { } #[test] - fn test_parse() { + fn test_parser() { assert_eq!( DecimalResolution::new(1920, 1080), "1920x1080".parse::().unwrap() diff --git a/src/types/encryption_method.rs b/src/types/encryption_method.rs index a5389f8..066dcc0 100644 --- a/src/types/encryption_method.rs +++ b/src/types/encryption_method.rs @@ -89,7 +89,7 @@ mod tests { } #[test] - fn test_parse() { + fn test_parser() { assert_eq!( EncryptionMethod::Aes128, "AES-128".parse::().unwrap() diff --git a/src/types/hdcp_level.rs b/src/types/hdcp_level.rs index 741959c..0b3bbe9 100644 --- a/src/types/hdcp_level.rs +++ b/src/types/hdcp_level.rs @@ -50,7 +50,7 @@ mod tests { } #[test] - fn test_parse() { + fn test_parser() { let level = HdcpLevel::Type0; assert_eq!(level, "TYPE-0".parse::().unwrap());