Fix code comments and bug report errors (#319)

fix typos
This commit is contained in:
Helen Grachtz 2025-02-11 11:56:40 +03:00 committed by GitHub
parent a3335eed82
commit 26cc19b92d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View File

@ -740,7 +740,7 @@ where
&error, &error,
ConnectionDirection::Outgoing, ConnectionDirection::Outgoing,
); );
// inform failures of requests comming outside the behaviour // inform failures of requests coming outside the behaviour
if let RequestId::Application(id) = id { if let RequestId::Application(id) = id {
self.add_event(BehaviourEvent::RPCFailed { peer_id, id }); self.add_event(BehaviourEvent::RPCFailed { peer_id, id });
} }

View File

@ -54,7 +54,7 @@ impl Service {
struct Ev(PeerManagerEvent); struct Ev(PeerManagerEvent);
impl From<void::Void> for Ev { impl From<void::Void> for Ev {
fn from(_: void::Void) -> Self { fn from(_: void::Void) -> Self {
unreachable!("No events are emmited") unreachable!("No events are emitted")
} }
} }
impl From<PeerManagerEvent> for Ev { impl From<PeerManagerEvent> for Ev {

View File

@ -238,7 +238,7 @@ auto_sync_enabled = true
# Enable to start a file sync via RPC (e.g. `admin_startSyncFile`). # Enable to start a file sync via RPC (e.g. `admin_startSyncFile`).
# sync_file_by_rpc_enabled = true # sync_file_by_rpc_enabled = true
# Maximum number of continous failures to terminate a file sync. # Maximum number of continuous failures to terminate a file sync.
# max_request_failures = 3 # max_request_failures = 3
# Timeout to dial peers. # Timeout to dial peers.

View File

@ -250,7 +250,7 @@ auto_sync_enabled = true
# Enable to start a file sync via RPC (e.g. `admin_startSyncFile`). # Enable to start a file sync via RPC (e.g. `admin_startSyncFile`).
# sync_file_by_rpc_enabled = true # sync_file_by_rpc_enabled = true
# Maximum number of continous failures to terminate a file sync. # Maximum number of continuous failures to terminate a file sync.
# max_request_failures = 3 # max_request_failures = 3
# Timeout to dial peers. # Timeout to dial peers.

View File

@ -252,7 +252,7 @@
# Enable to start a file sync via RPC (e.g. `admin_startSyncFile`). # Enable to start a file sync via RPC (e.g. `admin_startSyncFile`).
# sync_file_by_rpc_enabled = true # sync_file_by_rpc_enabled = true
# Maximum number of continous failures to terminate a file sync. # Maximum number of continuous failures to terminate a file sync.
# max_request_failures = 3 # max_request_failures = 3
# Timeout to dial peers. # Timeout to dial peers.