Fix grammar in core/nodes etc. (#608)

* Fix grammar

* Nothing we can *do* except ...

* Implementer

* Implementation
This commit is contained in:
James Ray
2018-11-08 03:01:33 +11:00
committed by Pierre Krieger
parent 1b4dada4d0
commit 61f280f3ef
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ use std::fmt;
use std::io::Error as IoError;
use std::sync::Arc;
// Implementor notes
// Implementation notes
// =================
//
// In order to minimize the risk of bugs in higher-level code, we want to avoid as much as

View File

@ -164,7 +164,7 @@ pub struct Multiplex<C> {
// Struct shared throughout the implementation.
struct MultiplexInner<C> {
// Errored that happend earlier. Should poison any attempt to use this `MultiplexError`.
// Error that happened earlier. Should poison any attempt to use this `MultiplexError`.
error: Result<(), IoError>,
// Underlying stream.
inner: executor::Spawn<Fuse<Framed<C, codec::Codec>>>,

View File

@ -310,7 +310,7 @@ impl Stream for TcpListenStream {
.expect("generating a multiaddr from a socket addr never fails"),
Err(err) => {
// If we can't get the address of the newly-opened socket, there's
// nothing we can except ignore this connection attempt.
// nothing we can do except ignore this connection attempt.
error!("Ignored incoming because could't determine its \
address: {:?}", err);
continue