Skip to content

Commit 6b1c27a

Browse files
committed
Only fix warning
1 parent defc615 commit 6b1c27a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

rust/chains/tw_sui/src/modules/intent.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
use serde::Serialize;
66
use serde_repr::Serialize_repr;
77

8-
/// Code snippets from:
9-
/// https://github.com/MystenLabs/sui/blob/a16c942b72c13f42846b3c543b6622af85a5f634/crates/shared-crypto/src/intent.rs
8+
// Code snippets from:
9+
// https://github.com/MystenLabs/sui/blob/a16c942b72c13f42846b3c543b6622af85a5f634/crates/shared-crypto/src/intent.rs
1010

1111
/// This enums specifies the intent scope.
1212
#[derive(Serialize_repr)]

rust/tw_cosmos_sdk/tests/sign.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,6 @@ fn test_sign_direct() {
289289
/// and `AuthInfo` will be generated from `SigningInput` parameters.
290290
#[test]
291291
fn test_sign_direct_with_body_bytes() {
292-
use tw_cosmos_sdk::proto::cosmos::tx::v1beta1 as tx_proto;
293-
294292
let coin = TestCoinContext::default()
295293
.with_public_key_type(PublicKeyType::Secp256k1)
296294
.with_hrp("cosmos");
@@ -302,7 +300,7 @@ fn test_sign_direct_with_body_bytes() {
302300
// Do not specify the `AuthInfo` bytes.
303301
auth_info_bytes: Cow::default(),
304302
};
305-
let mut input = Proto::SigningInput {
303+
let input = Proto::SigningInput {
306304
account_number: 1037,
307305
chain_id: "gaia-13003".into(),
308306
fee: Some(make_fee(200000, make_amount("muon", "200"))),

0 commit comments

Comments
 (0)