Fix a Clippy warning.
This commit is contained in:
parent
fab193f2dd
commit
40e9e785b9
|
@ -217,7 +217,7 @@ impl OPML {
|
||||||
W: std::io::Write,
|
W: std::io::Write,
|
||||||
{
|
{
|
||||||
let xml_string = self.to_string()?;
|
let xml_string = self.to_string()?;
|
||||||
writer.write_all(&xml_string.as_bytes())?;
|
writer.write_all(xml_string.as_bytes())?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue