Fix 2 small typos in comments

This commit is contained in:
Roman Zeyde 2018-06-09 22:27:40 +03:00
parent 6dc2ad86f0
commit 69ea2a760b
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -69,7 +69,7 @@ pub trait Pairable : Sized + Iterator {
}
impl<I: Iterator> 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]