Skip to content

Commit 69e0b04

Browse files
authored
compiler: do not emit rustfmt_skip inner attr, since it is unstable (#479)
cc tikv/raft-rs#390 Signed-off-by: Nick Cameron <[email protected]>
1 parent 716f5e8 commit 69e0b04

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/src/codegen.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ impl<'a> CodeWriter<'a> {
6565
self.write_line("#![allow(unknown_lints)]");
6666
self.write_line("#![allow(clippy::all)]");
6767
self.write_line("");
68-
self.write_line("#![cfg_attr(rustfmt, rustfmt_skip)]");
69-
self.write_line("");
7068
self.write_line("#![allow(box_pointers)]");
7169
self.write_line("#![allow(dead_code)]");
7270
self.write_line("#![allow(missing_docs)]");

0 commit comments

Comments
 (0)