mirror of
https://github.com/sile/hls_m3u8.git
synced 2025-02-09 01:52:20 +00:00
fixed spelling mistake + compiler warnings
This commit is contained in:
parent
8034d543b8
commit
211ce6e79a
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ impl<'a> AttributePairs<'a> {
|
||||||
self.input = rest;
|
self.input = rest;
|
||||||
return Ok(key);
|
return Ok(key);
|
||||||
}
|
}
|
||||||
b'A'...b'Z' | b'0'...b'9' | b'-' => {}
|
b'A'..=b'Z' | b'0'..=b'9' | b'-' => {}
|
||||||
_ => track_panic!(
|
_ => track_panic!(
|
||||||
ErrorKind::InvalidInput,
|
ErrorKind::InvalidInput,
|
||||||
"Malformed attribute name: {:?}",
|
"Malformed attribute name: {:?}",
|
||||||
|
|
|
@ -260,7 +260,7 @@ impl MasterPlaylist {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the `EXT-X-I-FRAME-STREAM-INF` tags contained in the playlist.
|
/// 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
|
&self.i_frame_stream_inf_tags
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue