Apply cargo fmt

This commit is contained in:
Rafael Caricio
2021-10-18 11:41:28 +02:00
parent 359695a25c
commit 39aab3a2ac
5 changed files with 381 additions and 292 deletions

View File

@ -1,7 +1,7 @@
extern crate nom;
extern crate m3u8_rs;
extern crate nom;
use m3u8_rs::playlist::{Playlist};
use m3u8_rs::playlist::Playlist;
use std::io::Read;
fn main() {
@ -14,6 +14,6 @@ fn main() {
match parsed {
Ok(Playlist::MasterPlaylist(pl)) => println!("Master playlist:\n{:?}", pl),
Ok(Playlist::MediaPlaylist(pl)) => println!("Media playlist:\n{:?}", pl),
Err(e) => println!("Error: {:?}", e)
Err(e) => println!("Error: {:?}", e),
}
}