1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2025-02-02 14:42:20 +00:00

fixed spelling mistake + compiler warnings

This commit is contained in:
Luro02 2019-08-15 18:33:01 +02:00
parent 8034d543b8
commit 211ce6e79a
2 changed files with 2 additions and 2 deletions

View file

@ -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: {:?}",

View file

@ -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
}