mirror of
https://github.com/rutgersc/m3u8-rs.git
synced 2025-01-03 03:38:40 +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:
parent
3fee7b9983
commit
7a882e5df0
1 changed files with 1 additions and 1 deletions
|
@ -623,7 +623,7 @@ impl MediaSegment {
|
||||||
if let Some(ref v) = self.title {
|
if let Some(ref v) = self.title {
|
||||||
writeln!(w, "{}", v)?;
|
writeln!(w, "{}", v)?;
|
||||||
} else {
|
} else {
|
||||||
write!(w, "\n");
|
write!(w, "\n")?;
|
||||||
}
|
}
|
||||||
|
|
||||||
writeln!(w, "{}", self.uri)
|
writeln!(w, "{}", self.uri)
|
||||||
|
|
Loading…
Reference in a new issue