Skip to content

Commit 5fa0746

Browse files
committed
fix spelling
1 parent c006267 commit 5fa0746

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

rust/vote-tx-v2/src/decoding.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ impl Decode<'_, ()> for GeneralizedTx {
3939
let mut sign = coset::CoseSign::from_slice(&sign_bytes).map_err(|_| {
4040
minicbor::decode::Error::message("`signature` must be COSE_Sign encoded object")
4141
})?;
42-
// We dont need to hold the original encoded data of the COSE protected header
42+
// We don't need to hold the original encoded data of the COSE protected header
4343
sign.protected.original_data = None;
4444
sign
4545
};

rust/vote-tx-v2/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
//! A Catalyst vote transaction v1 object, structured following this
22
//! [spec](https://input-output-hk.github.io/catalyst-libs/architecture/08_concepts/catalyst_voting/v2/)
33
4+
// cspell: words Coap
5+
46
use anyhow::anyhow;
57
use minicbor::{data::Int, Decode, Decoder, Encode, Encoder};
68

@@ -43,7 +45,7 @@ pub struct Vote {
4345
#[derive(Debug, Clone, PartialEq, Eq)]
4446
pub struct EventMap(Vec<(EventKey, Vec<u8>)>);
4547

46-
/// An `event-key` type defintion.
48+
/// An `event-key` type definition.
4749
#[derive(Debug, Clone, PartialEq, Eq)]
4850
pub enum EventKey {
4951
/// CBOR `int` type

0 commit comments

Comments
 (0)