From 080cbb55c35f268563a6edb8eef7c8c3b64b19c1 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Fri, 7 Feb 2020 03:38:26 -0600 Subject: [PATCH] refactor/polish ~ fix `cargo clippy` complaints (string_lit_as_bytes) --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 99383f6a6..833c91112 100644 --- a/build.rs +++ b/build.rs @@ -76,7 +76,7 @@ pub fn main() { } } - mf.write_all("map\n}\n".as_bytes()).unwrap(); + mf.write_all(b"map\n}\n").unwrap(); cf.flush().unwrap(); mf.flush().unwrap();