1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-11-25 08:31:00 +00:00

fix compiler errors

This commit is contained in:
Lucas 2021-08-02 20:05:11 +02:00
parent 23c799a88b
commit 8ad21ec161
2 changed files with 2 additions and 2 deletions

View file

@ -727,7 +727,7 @@ impl FromStr for MediaPlaylist<'static> {
type Err = Error;
fn from_str(input: &str) -> Result<Self, Self::Err> {
Ok(parse_media_playlist(input, &mut Self::builder())?.into_owned())
Ok(parse_media_playlist(input, &mut MediaPlaylist::builder())?.into_owned())
}
}

View file

@ -19,8 +19,8 @@ use crate::types::ProtocolVersion;
/// [`MediaPlaylist`]: crate::MediaPlaylist
#[non_exhaustive]
#[allow(missing_docs)]
#[strum(serialize_all = "UPPERCASE")]
#[derive(Ord, PartialOrd, Debug, Clone, Copy, PartialEq, Eq, Hash, Display, EnumString)]
#[strum(serialize_all = "UPPERCASE")]
pub enum InStreamId {
Cc1,
Cc2,