mirror of
https://github.com/v0l/m3u8-rs.git
synced 2025-06-20 18:39:50 +00:00
fixed warning: unused std::result::Result
``` warning: unused `std::result::Result` that must be used ``` I forgot `?` for the error propagation
This commit is contained in:

committed by
GitHub

parent
3fee7b9983
commit
7a882e5df0
@ -623,7 +623,7 @@ impl MediaSegment {
|
||||
if let Some(ref v) = self.title {
|
||||
writeln!(w, "{}", v)?;
|
||||
} else {
|
||||
write!(w, "\n");
|
||||
write!(w, "\n")?;
|
||||
}
|
||||
|
||||
writeln!(w, "{}", self.uri)
|
||||
|
Reference in New Issue
Block a user