From 51971dd5333727f872b2d4123721270a99024004 Mon Sep 17 00:00:00 2001 From: ariard Date: Mon, 4 Feb 2019 07:30:41 +0100 Subject: [PATCH] Fix typos and clarify some comment in blockdata, block, address (#230) --- src/blockdata/block.rs | 2 +- src/blockdata/mod.rs | 2 +- src/util/address.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/blockdata/block.rs b/src/blockdata/block.rs index cd81c8f4..bf0f23bc 100644 --- a/src/blockdata/block.rs +++ b/src/blockdata/block.rs @@ -15,7 +15,7 @@ //! Bitcoin Block //! //! A block is a bundle of transactions with a proof-of-work attached, -//! which attaches to an earlier block to form the blockchain. This +//! which commits to an earlier block to form the blockchain. This //! module describes structures and functions needed to describe //! these blocks and the blockchain. //! diff --git a/src/blockdata/mod.rs b/src/blockdata/mod.rs index 78112b1a..4713b89c 100644 --- a/src/blockdata/mod.rs +++ b/src/blockdata/mod.rs @@ -14,7 +14,7 @@ //! Blockdata //! -//! This module defines structions and functions for storing the blocks and +//! This module defines structures and functions for storing the blocks and //! transactions which make up the Bitcoin system. //! diff --git a/src/util/address.rs b/src/util/address.rs index 74ca6a43..0afa8d34 100644 --- a/src/util/address.rs +++ b/src/util/address.rs @@ -119,7 +119,7 @@ impl Address { } /// Creates a pay to script hash P2SH address from a script - /// This address type was introduced with BIP16 and is the popular ty implement multi-sig these days. + /// This address type was introduced with BIP16 and is the popular type to implement multi-sig these days. #[inline] pub fn p2sh(script: &script::Script, network: Network) -> Address { Address {