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:
Vadim Getmanshchuk
2020-03-21 21:23:03 -07:00
committed by GitHub
parent 3fee7b9983
commit 7a882e5df0

View File

@ -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)