mirror of
https://github.com/rutgersc/m3u8-rs.git
synced 2025-01-03 11:48:41 +00:00
map cleanup, leftovers
This commit is contained in:
parent
f7587aa264
commit
350109e29a
1 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ pub fn parse_playlist_res(input: &[u8]) -> Result<Playlist, IResult<&[u8], Playl
|
||||||
|
|
||||||
/// Parse input as a master playlist
|
/// Parse input as a master playlist
|
||||||
pub fn parse_master_playlist(input: &[u8]) -> IResult<&[u8], MasterPlaylist> {
|
pub fn parse_master_playlist(input: &[u8]) -> IResult<&[u8], MasterPlaylist> {
|
||||||
nom::combinator::map(parse_master_playlist_tags, MasterPlaylist::from_tags)(input)
|
map(parse_master_playlist_tags, MasterPlaylist::from_tags)(input)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Parse input as a master playlist
|
/// Parse input as a master playlist
|
||||||
|
@ -180,7 +180,7 @@ pub fn parse_master_playlist_res(input: &[u8]) -> Result<MasterPlaylist, IResult
|
||||||
|
|
||||||
/// Parse input as a media playlist
|
/// Parse input as a media playlist
|
||||||
pub fn parse_media_playlist(input: &[u8]) -> IResult<&[u8], MediaPlaylist> {
|
pub fn parse_media_playlist(input: &[u8]) -> IResult<&[u8], MediaPlaylist> {
|
||||||
nom::combinator::map(parse_media_playlist_tags, MediaPlaylist::from_tags)(input)
|
map(parse_media_playlist_tags, MediaPlaylist::from_tags)(input)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Parse input as a media playlist
|
/// Parse input as a media playlist
|
||||||
|
|
Loading…
Reference in a new issue