mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-21 05:41:33 +00:00
Fix grammar in core/nodes etc. (#608)
* Fix grammar * Nothing we can *do* except ... * Implementer * Implementation
This commit is contained in:
committed by
Pierre Krieger
parent
1b4dada4d0
commit
61f280f3ef
@ -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
|
||||
|
@ -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>>>,
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user