Merge pull request #97 from romanz/master

Fix 2 small typos in comments
This commit is contained in:
Andrew Poelstra 2018-06-10 21:09:15 +00:00 committed by GitHub
commit 18460e347e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ pub struct LoneBlockHeader {
/// The actual block header /// The actual block header
pub header: BlockHeader, pub header: BlockHeader,
/// The number of transactions in the block. This will always be zero /// 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 pub tx_count: VarInt
} }

View File

@ -69,7 +69,7 @@ pub trait Pairable : Sized + Iterator {
} }
impl<I: Iterator> Pairable for I { 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 /// iterator, yielding `None` when there are fewer than two elements to
/// return. /// return.
#[inline] #[inline]