Skip to content

Commit

Permalink
chore: fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Mar 28, 2024
1 parent bb95bb9 commit 0398776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/contract/operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -656,8 +656,6 @@ impl<'op> Operation for OpRef<'op> {

#[cfg(test)]
mod test {
use std::str::FromStr;

use amplify::ByteArray;
use baid58::ToBaid58;

Expand Down
4 changes: 2 additions & 2 deletions src/validation/logic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ use crate::{
};

impl Schema {
pub fn validate_state<'validator, 'consignment, C: ConsignmentApi>(
pub fn validate_state<'validator, C: ConsignmentApi>(

Check warning on line 42 in src/validation/logic.rs

View check run for this annotation

Codecov / codecov/patch

src/validation/logic.rs#L42

Added line #L42 was not covered by tests
&'validator self,
consignment: &'validator CheckedConsignment<'consignment, C>,
consignment: &'validator CheckedConsignment<'_, C>,

Check warning on line 44 in src/validation/logic.rs

View check run for this annotation

Codecov / codecov/patch

src/validation/logic.rs#L44

Added line #L44 was not covered by tests
op: OpRef,
) -> validation::Status {
let opid = op.id();

Check warning on line 47 in src/validation/logic.rs

View check run for this annotation

Codecov / codecov/patch

src/validation/logic.rs#L47

Added line #L47 was not covered by tests
Expand Down

0 comments on commit 0398776

Please sign in to comment.