diff --git a/veilid-cli/src/command_processor.rs b/veilid-cli/src/command_processor.rs index a9fe9168..0fc1e2f8 100644 --- a/veilid-cli/src/command_processor.rs +++ b/veilid-cli/src/command_processor.rs @@ -443,7 +443,7 @@ Server Debug Commands: let message = json_str_vec_u8(&msg["message"]); - // check is message body is ascii printable + // check if message body is ascii printable let mut printable = true; for c in &message { if *c < 32 || *c > 126 { @@ -481,7 +481,7 @@ Server Debug Commands: let message = json_str_vec_u8(&call["message"]); - // check is message body is ascii printable + // check if message body is ascii printable let mut printable = true; for c in &message { if *c < 32 || *c > 126 { diff --git a/veilid-core/src/network_manager/native/network_tcp.rs b/veilid-core/src/network_manager/native/network_tcp.rs index ad93f5bf..241b3ad6 100644 --- a/veilid-core/src/network_manager/native/network_tcp.rs +++ b/veilid-core/src/network_manager/native/network_tcp.rs @@ -193,7 +193,7 @@ impl Network { // Run accept handlers on accepted stream - // Check is this could be TLS + // Check if this could be TLS let ls = listener_state.read().clone(); let conn = if ls.tls_acceptor.is_some() && first_packet[0] == 0x16 { diff --git a/veilid-core/src/veilid_api/debug.rs b/veilid-core/src/veilid_api/debug.rs index 7cbd3ce6..720c6161 100644 --- a/veilid-core/src/veilid_api/debug.rs +++ b/veilid-core/src/veilid_api/debug.rs @@ -516,7 +516,7 @@ async fn async_get_debug_argument_at SendPinBoxFuture) -> String { - // check is message body is ascii printable + // check if message body is ascii printable let mut printable = true; for c in data { if *c < 32 || *c > 126 { diff --git a/veilid-core/src/veilid_api/types/dht/schema/dflt.rs b/veilid-core/src/veilid_api/types/dht/schema/dflt.rs index 144d6075..a6a5aee5 100644 --- a/veilid-core/src/veilid_api/types/dht/schema/dflt.rs +++ b/veilid-core/src/veilid_api/types/dht/schema/dflt.rs @@ -40,7 +40,7 @@ impl DHTSchemaDFLT { ) -> bool { let subkey = subkey as usize; - // Check is subkey is in owner range + // Check if subkey is in owner range if subkey < (self.o_cnt as usize) { // Check value data has valid writer if value_data.writer() == owner { diff --git a/veilid-core/src/veilid_api/types/dht/schema/smpl.rs b/veilid-core/src/veilid_api/types/dht/schema/smpl.rs index c1511a4b..21163bc1 100644 --- a/veilid-core/src/veilid_api/types/dht/schema/smpl.rs +++ b/veilid-core/src/veilid_api/types/dht/schema/smpl.rs @@ -65,7 +65,7 @@ impl DHTSchemaSMPL { ) -> bool { let mut cur_subkey = subkey as usize; - // Check is subkey is in owner range + // Check if subkey is in owner range if cur_subkey < (self.o_cnt as usize) { // Check value data has valid writer if value_data.writer() == owner {