Skip to content

Commit 3eb79ac

Browse files
committed
Re-enable field_reassign_with_default clippy rule
1 parent bb40a06 commit 3eb79ac

File tree

15 files changed

+0
-29
lines changed

15 files changed

+0
-29
lines changed

contracts/burner/src/msg.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
2-
31
use schemars::JsonSchema;
42
use serde::{Deserialize, Serialize};
53

contracts/crypto-verify/src/msg.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
2-
31
use cosmwasm_std::{Binary, Deps, Uint128};
42
use schemars::JsonSchema;
53
use serde::{Deserialize, Serialize};

contracts/hackatom/src/contract.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
2-
31
use schemars::JsonSchema;
42
use serde::{Deserialize, Serialize};
53
use sha2::{Digest, Sha256};

contracts/ibc-reflect-send/src/ibc_msg.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
2-
31
use cosmwasm_std::{Coin, ContractResult, CosmosMsg, HumanAddr};
42
use schemars::JsonSchema;
53
use serde::{Deserialize, Serialize};

contracts/ibc-reflect-send/src/msg.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
2-
31
use cosmwasm_std::{Coin, CosmosMsg, Empty, HumanAddr};
42
use schemars::JsonSchema;
53
use serde::{Deserialize, Serialize};

contracts/ibc-reflect-send/src/state.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
2-
31
use schemars::JsonSchema;
42
use serde::{Deserialize, Serialize};
53

contracts/ibc-reflect/src/msg.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
2-
31
use cosmwasm_std::{Coin, ContractResult, CosmosMsg, HumanAddr};
42
use schemars::JsonSchema;
53
use serde::{Deserialize, Serialize};

contracts/ibc-reflect/src/state.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
2-
31
use schemars::JsonSchema;
42
use serde::{Deserialize, Serialize};
53

contracts/queue/src/contract.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
2-
31
use schemars::JsonSchema;
42
use serde::{Deserialize, Serialize};
53

contracts/queue/src/msg.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
2-
31
use schemars::JsonSchema;
42
use serde::{Deserialize, Serialize};
53

contracts/reflect/src/msg.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
2-
31
use schemars::JsonSchema;
42
use serde::{Deserialize, Serialize};
53

contracts/reflect/src/state.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
2-
31
use schemars::JsonSchema;
42
use serde::{Deserialize, Serialize};
53

contracts/staking/src/msg.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
2-
31
use schemars::JsonSchema;
42
use serde::{Deserialize, Serialize};
53

contracts/staking/src/state.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
2-
31
use schemars::JsonSchema;
42
use serde::{Deserialize, Serialize};
53

packages/std/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![cfg_attr(feature = "backtraces", feature(backtrace))]
2-
#![allow(clippy::field_reassign_with_default)] // see https://github.com/CosmWasm/cosmwasm/issues/685
32

43
// Exposed on all platforms
54

0 commit comments

Comments
 (0)