Skip to content

Commit e7fcc9b

Browse files
committed
Merge #236: chore: fix some minor issues in comments
95d1a40 chore: fix some minor issues in comments (stellrust) Pull request description: fix some minor issues in comments ACKs for top commit: apoelstra: ACK 95d1a40; successfully ran local tests; thanks! Tree-SHA512: 39028e116359dc5338440150533e23ffb08c040644b457319931218b748df49470f6306f0a2f72b215e57f5c622ad7fed1894188d44b456d11b4c6466815904c
2 parents aa4832c + 95d1a40 commit e7fcc9b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/dynafed.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ impl FullParams {
152152
crate::fast_merkle_root::fast_merkle_root(&leaves[..])
153153
}
154154

155-
/// Turns paramers into compact parameters.
155+
/// Turns parameters into compact parameters.
156156
/// This returns self for compact params and [None] for null ones.
157157
pub fn into_compact(self) -> Params {
158158
Params::Compact {
@@ -388,7 +388,7 @@ impl Params {
388388
}
389389
}
390390

391-
/// Turns paramers into compact parameters.
391+
/// Turns parameters into compact parameters.
392392
/// This returns self for compact params and [None] for null ones.
393393
pub fn into_compact(self) -> Option<Params> {
394394
match self {

src/transaction.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ impl Sequence {
241241
self.is_relative_lock_time() & (self.0 & Sequence::LOCK_TYPE_MASK == 0)
242242
}
243243

244-
/// Returns `true` if the sequene number encodes a time interval based relative lock-time.
244+
/// Returns `true` if the sequence number encodes a time interval based relative lock-time.
245245
#[inline]
246246
pub fn is_time_locked(&self) -> bool {
247247
self.is_relative_lock_time() & (self.0 & Sequence::LOCK_TYPE_MASK > 0)
@@ -479,7 +479,7 @@ impl<'tx> PeginData<'tx> {
479479
/// A transaction input, which defines old coins to be consumed
480480
#[derive(Clone, PartialEq, Eq, Debug, Hash, PartialOrd, Ord)]
481481
pub struct TxIn {
482-
/// The reference to the previous output that is being used an an input
482+
/// The reference to the previous output that is being used as an input
483483
pub previous_output: OutPoint,
484484
/// Flag indicating that `previous_outpoint` refers to something on the main chain
485485
pub is_pegin: bool,

0 commit comments

Comments
 (0)