Skip to content

Commit 87969a4

Browse files
authored
[ci skip] fix lint (#106)
1 parent 9944242 commit 87969a4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

crates/e2e-move-tests/src/tests/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ fn json_object_args() {
766766
let events = output.events().clone().into_inner();
767767
let event = events
768768
.iter()
769-
.find(|e| e.type_tag.to_string() == "0x1::object::CreateEvent")
769+
.find(|e| e.type_tag == "0x1::object::CreateEvent")
770770
.unwrap();
771771
let data: CreateEvent = serde_json::from_str(event.event_data.as_str()).unwrap();
772772

crates/natives/src/crypto/ed25519.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,17 +141,17 @@ fn repeats_vec_of_vec_u8(item: Vec<u8>, n: usize) -> Vec<Vec<u8>> {
141141
/// Three Variants are supported in the input for convenience:
142142
/// - Equal number of messages, signatures, and public keys: Standard, generic functionality.
143143
/// - One message, and an equal number of signatures and public keys: Multiple digital signature
144-
/// (multisig) verification of a single message.
144+
/// (multisig) verification of a single message.
145145
/// - One public key, and an equal number of messages and signatures: Verification of multiple
146-
/// messages, all signed with the same private key.
146+
/// messages, all signed with the same private key.
147147
///
148148
/// Any other variants of input vectors result in an error.
149149
///
150150
/// Notes:
151151
/// - The "one-message, with zero signatures and zero public keys" case, is considered the empty
152-
/// case.
152+
/// case.
153153
/// - The "one-public key, with zero messages and zero signatures" case, is considered the empty
154-
/// case.
154+
/// case.
155155
/// - The empty case (no messages, no signatures and no public keys) returns true.
156156
pub fn native_batch_verify(
157157
context: &mut SafeNativeContext,

0 commit comments

Comments
 (0)