From 69ea2a760be51a1dbc06cedff7c6908bd2712ddb Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Sat, 9 Jun 2018 22:27:40 +0300 Subject: [PATCH] Fix 2 small typos in comments --- src/blockdata/block.rs | 2 +- src/util/iter.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]