Skip to content

Commit

Permalink
compiler: do not emit rustfmt_skip inner attr, since it is unstable
Browse files Browse the repository at this point in the history
cc tikv/raft-rs#390

Signed-off-by: Nick Cameron <[email protected]>
  • Loading branch information
nrc committed Aug 14, 2020
1 parent 716f5e8 commit 0cf89d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ impl<'a> CodeWriter<'a> {
self.write_line("#![allow(unknown_lints)]");
self.write_line("#![allow(clippy::all)]");
self.write_line("");
self.write_line("#![cfg_attr(rustfmt, rustfmt_skip)]");
self.write_line("");
self.write_line("#![allow(box_pointers)]");
self.write_line("#![allow(dead_code)]");
self.write_line("#![allow(missing_docs)]");
Expand Down

0 comments on commit 0cf89d7

Please sign in to comment.