diff --git a/src/blockdata/block.rs b/src/blockdata/block.rs index 5880cf24..a269164d 100644 --- a/src/blockdata/block.rs +++ b/src/blockdata/block.rs @@ -66,7 +66,7 @@ pub struct LoneBlockHeader { /// The actual block header pub header: BlockHeader, /// The number of transactions in the block. This will always be zero - /// when the LoneBlockHeader is returned as part ef a `headers` message. + /// when the LoneBlockHeader is returned as part of a `headers` message. pub tx_count: VarInt } diff --git a/src/util/iter.rs b/src/util/iter.rs index 53ab4723..7a4cbda8 100644 --- a/src/util/iter.rs +++ b/src/util/iter.rs @@ -69,7 +69,7 @@ pub trait Pairable : Sized + Iterator { } impl Pairable for I { - /// Creates an iterator that yields pairs ef elements from the underlying + /// Creates an iterator that yields pairs of elements from the underlying /// iterator, yielding `None` when there are fewer than two elements to /// return. #[inline]