Skip to content

Commit

Permalink
Move clippy allows to be struct-level instead of file-level
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoerussell committed Dec 11, 2024
1 parent fc44c1c commit fcadf08
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{# This needs to stay in sync with the wit-bindgen output #}
#[allow(clippy::doc_markdown)]
#[allow(clippy::doc_link_with_quotes)]

{% if model.kinds.terminal_kinds|length <= 256 %} #[repr(u8)] {% else %} #[repr(u16)] {% endif %}
#[derive(
Debug,
Expand All @@ -18,6 +15,8 @@
)]
#[derive(Clone, Copy)]
#[allow(clippy::upper_case_acronyms)]
#[allow(clippy::doc_markdown)]
#[allow(clippy::doc_link_with_quotes)]
pub enum TerminalKind {
// Built-in:
UNRECOGNIZED,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fcadf08

Please sign in to comment.