Skip to content

Commit

Permalink
fix: deactivate some clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorin committed Nov 11, 2023
1 parent dba3ce0 commit d55c14a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cmd/library/generate/templates/item_documentation.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[allow(clippy::needless_raw_string_hashes)]
pub const TEMPLATE: &str = r##"# {{ data.item_name }}
{%- block header %}{% endblock header %}
Expand Down
1 change: 1 addition & 0 deletions src/cmd/library/generate/templates/item_snippet.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[allow(clippy::needless_raw_string_hashes)]
pub const TEMPLATE: &str = r##"@startuml
{%- block header %}{% endblock header %}
{%- block include_mode %}
Expand Down
1 change: 1 addition & 0 deletions src/cmd/library/generate/templates/item_source.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[allow(clippy::needless_raw_string_hashes)]
pub const TEMPLATE: &str = r##"{% block header -%}
' definition of the Item {{ data.item_urn }}
{% endblock header -%}
Expand Down
1 change: 1 addition & 0 deletions src/cmd/library/generate/templates/library_bootstrap.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[allow(clippy::needless_raw_string_hashes)]
pub const TEMPLATE: &str = r##"{%- block header %}{% endblock header %}
' by default the inclusion mode is remote
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[allow(clippy::needless_raw_string_hashes)]
pub const TEMPLATE: &str = r##"# {{ data.library_name }}
{%- block header %}{% endblock header %}
Expand Down
1 change: 1 addition & 0 deletions src/cmd/library/generate/templates/module_documentation.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[allow(clippy::needless_raw_string_hashes)]
pub const TEMPLATE: &str = r##"# {{ data.module_name }}
{%- block header %}{% endblock header %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[allow(clippy::needless_raw_string_hashes)]
pub const TEMPLATE: &str = r##"# {{ data.package_name }}
{% block header %}{% endblock header -%}
Expand Down
1 change: 1 addition & 0 deletions src/cmd/library/generate/templates/package_example.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[allow(clippy::needless_raw_string_hashes)]
pub const TEMPLATE: &str = r##"@startuml
{%- block header %}{% endblock header %}
Expand Down

0 comments on commit d55c14a

Please sign in to comment.