Skip to content

Commit 947b457

Browse files
committed
fix clippy
1 parent 2e94c97 commit 947b457

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

rust/signed_doc/src/validator/rules/content.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ pub(crate) enum ContentRule {
3939

4040
impl ContentRule {
4141
/// Field validation rule
42+
#[allow(clippy::unused_async)]
4243
pub(crate) async fn check(
4344
&self,
4445
doc: &CatalystSignedDocument,

rust/signed_doc/src/validator/rules/template.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ use crate::{
1212
/// `reply` field validation rule
1313
#[derive(Debug)]
1414
pub(crate) enum TemplateRule {
15+
/// Is 'template' specified
1516
Specified {
1617
/// allowed `type` field of the template
1718
allowed_type: DocType,

0 commit comments

Comments
 (0)