From 211ce6e79a3ae906170fa53a904e434202ae65a7 Mon Sep 17 00:00:00 2001 From: Luro02 <24826124+Luro02@users.noreply.github.com> Date: Thu, 15 Aug 2019 18:33:01 +0200 Subject: [PATCH] fixed spelling mistake + compiler warnings --- src/attribute.rs | 2 +- src/master_playlist.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }