From 40e9e785b9785a8babba636a35871ff42d8a04bf Mon Sep 17 00:00:00 2001 From: Bauke Date: Mon, 27 Sep 2021 12:07:31 +0200 Subject: [PATCH] Fix a Clippy warning. --- opml_api/source/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opml_api/source/lib.rs b/opml_api/source/lib.rs index 227b89c..9c64716 100644 --- a/opml_api/source/lib.rs +++ b/opml_api/source/lib.rs @@ -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(()) } }