diff --git a/src/attribute.rs b/src/attribute.rs index f954a57..8ef7450 100644 --- a/src/attribute.rs +++ b/src/attribute.rs @@ -24,7 +24,7 @@ impl<'a> AttributePairs<'a> { self.input = rest; return Ok(key); } - b'A'...b'Z' | b'0'...b'9' | b'-' => {} + b'A'..=b'Z' | b'0'..=b'9' | b'-' => {} _ => track_panic!( ErrorKind::InvalidInput, "Malformed attribute name: {:?}", diff --git a/src/master_playlist.rs b/src/master_playlist.rs index bcbf47a..d33e0ff 100644 --- a/src/master_playlist.rs +++ b/src/master_playlist.rs @@ -260,7 +260,7 @@ impl MasterPlaylist { } /// Returns the `EXT-X-I-FRAME-STREAM-INF` tags contained in the playlist. - pub fn i_fream_stream_inf_tags(&self) -> &[ExtXIFrameStreamInf] { + pub fn i_frame_stream_inf_tags(&self) -> &[ExtXIFrameStreamInf] { &self.i_frame_stream_inf_tags }