Fix minor typos

This commit is contained in:
pbarry25
2023-08-21 19:55:22 -05:00
parent 513116e672
commit 0b018edfe5
7 changed files with 11 additions and 11 deletions

View File

@@ -561,7 +561,7 @@ impl Network {
network_result_value_or_log!(ph.clone()
.send_message(data.clone(), peer_socket_addr)
.await
.wrap_err("sending data to existing conection")? => [ format!(": data.len={}, descriptor={:?}", data.len(), descriptor) ]
.wrap_err("sending data to existing connection")? => [ format!(": data.len={}, descriptor={:?}", data.len(), descriptor) ]
{ return Ok(Some(data)); } );
// Network accounting

View File

@@ -297,7 +297,7 @@ impl BucketEntryInner {
// If we're updating an entry's node info, purge all
// but the last connection in our last connections list
// because the dial info could have changed and its safer to just reconnect.
// because the dial info could have changed and it's safer to just reconnect.
// The latest connection would have been the once we got the new node info
// over so that connection is still valid.
if node_info_changed {

View File

@@ -203,7 +203,7 @@ impl StorageManager {
}
}
/// Handle a recieved 'Get Value' query
/// Handle a received 'Get Value' query
pub async fn inbound_get_value(
&self,
key: TypedKey,

View File

@@ -173,7 +173,7 @@ impl StorageManager {
}
}
/// Handle a recieved 'Set Value' query
/// Handle a received 'Set Value' query
/// Returns a None if the value passed in was set
/// Returns a Some(current value) if the value was older and the current value was kept
pub async fn inbound_set_value(