Skip to content

Commit

Permalink
Fix the rustfmt skip logic as it breaks with Rust 1.53 (locka99#117)
Browse files Browse the repository at this point in the history
Instead of inserting `#[rustfmt::skip]` the files that need to be
excluded are now described in the `rustfmt.toml` file.
  • Loading branch information
svanharmelen authored Jun 24, 2021
1 parent 8bcf17d commit a9cd7fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ignore = [
"core/src/supported_messsages.rs",
"server/src/address_space/generated",
"types/src/node_ids.rs",
"types/src/service_types",
"types/src/status_codes.rs",
]
2 changes: 1 addition & 1 deletion tools/schema/nodeset.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,4 +405,4 @@ function get_node_references(reference_element, config) {
});
}
return node_references;
}
}

0 comments on commit a9cd7fb

Please sign in to comment.