Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
gRoussac committed Apr 18, 2024
1 parent 0ae3fb7 commit bb475a6
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion client/balance_of_session/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "balance_of_session"
version = "1.5.1"
edition = "2018"
edition = "2021"

[dependencies]
casper-contract = "4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion client/get_approved_session/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "get_approved_session"
version = "1.5.1"
edition = "2018"
edition = "2021"

[dependencies]
casper-contract = "4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion client/is_approved_for_all_session/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "is_approved_for_all_session"
version = "1.5.1"
edition = "2018"
edition = "2021"

[dependencies]
casper-contract = "4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion client/mint_session/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "mint_session"
version = "1.5.1"
edition = "2018"
edition = "2021"

[dependencies]
casper-contract = "4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion client/owner_of_session/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "owner_of_session"
version = "1.5.1"
edition = "2018"
edition = "2021"

[dependencies]
casper-contract = "4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion contract/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "contract"
version = "1.5.1"
edition = "2018"
edition = "2021"

[dependencies]
casper-contract = { version = "4.0.0", default-features = false, optional = true }
Expand Down
2 changes: 1 addition & 1 deletion rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
wrap_comments = true
comment_width = 100
imports_granularity = "Crate"
edition = "2018"
edition = "2021"
5 changes: 3 additions & 2 deletions tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = "tests"
version = "1.5.1"
edition = "2018"
[dependencies]
edition = "2021"

[dev-dependencies]
casper-engine-test-support = { version = "7.0.1", default-features = false }
contract = { path = "../contract", default-features = false }
casper-execution-engine = { version = "7.0.1", default-features = false }
Expand Down
2 changes: 0 additions & 2 deletions tests/src/acl.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use core::panic;

use crate::utility::{
constants::{
ACCOUNT_USER_1, ARG_NFT_CONTRACT_HASH, ARG_REVERSE_LOOKUP, CONTRACT_1_0_0_WASM,
Expand Down
2 changes: 1 addition & 1 deletion tests/src/utility/installer_request_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use std::collections::BTreeMap;

// Modalities reexports.
pub use contract::modalities::{
EventsMode, MintingMode, NFTHolderMode, NFTKind, OwnershipMode, TokenIdentifier, WhitelistMode,
EventsMode, MintingMode, NFTHolderMode, NFTKind, OwnershipMode, WhitelistMode,
};

use super::constants::{NFT_TEST_COLLECTION, NFT_TEST_SYMBOL};
Expand Down

0 comments on commit bb475a6

Please sign in to comment.