From e867366197f1fa4c39a6c97bf4efd605dc9109d3 Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 13 Jul 2019 10:39:39 +0200 Subject: [PATCH] Use byte literal instead of `as u8` --- src/hyperfine/export/asciidoc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyperfine/export/asciidoc.rs b/src/hyperfine/export/asciidoc.rs index 4d947eb..99f7ea8 100644 --- a/src/hyperfine/export/asciidoc.rs +++ b/src/hyperfine/export/asciidoc.rs @@ -27,7 +27,7 @@ impl Exporter for AsciidocExporter { res.append(&mut table_startend()); res.append(&mut table_header(unit)); for result in results { - res.push('\n' as u8); + res.push(b'\n'); res.append(&mut table_row(result, unit)); } res.append(&mut table_startend());