Fix a Clippy warning.

This commit is contained in:
Bauke 2021-09-27 12:07:31 +02:00
parent fab193f2dd
commit 40e9e785b9
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ impl OPML {
W: std::io::Write,
{
let xml_string = self.to_string()?;
writer.write_all(&xml_string.as_bytes())?;
writer.write_all(xml_string.as_bytes())?;
Ok(())
}
}