diff --git a/implementations/rust/ockam/ockam_api/src/nodes/connection/mod.rs b/implementations/rust/ockam/ockam_api/src/nodes/connection/mod.rs index 1bb5a5d0d7a..38cd9d682c0 100644 --- a/implementations/rust/ockam/ockam_api/src/nodes/connection/mod.rs +++ b/implementations/rust/ockam/ockam_api/src/nodes/connection/mod.rs @@ -86,7 +86,7 @@ impl Connection { Origin::Node, Kind::Internal, format!( - "Failed to delete secure channnel with address {address}. {error}", + "Failed to delete secure channel with address {address}. {error}", address = encryptor, ), ))?, diff --git a/implementations/rust/ockam/ockam_api/src/nodes/service/secure_channel.rs b/implementations/rust/ockam/ockam_api/src/nodes/service/secure_channel.rs index 8c87729ccdf..21f3aac64f1 100644 --- a/implementations/rust/ockam/ockam_api/src/nodes/service/secure_channel.rs +++ b/implementations/rust/ockam/ockam_api/src/nodes/service/secure_channel.rs @@ -430,7 +430,7 @@ impl NodeManager { ockam_core::Error::new( Origin::Api, Kind::Internal, - format!("Error while deleting secure channel with addrress {}", addr,), + format!("Error while deleting secure channel with address {}", addr,), ) }) } diff --git a/implementations/rust/ockam/ockam_api/src/orchestrator/project/controller_client.rs b/implementations/rust/ockam/ockam_api/src/orchestrator/project/controller_client.rs index 1836c3f702f..fbb1c59d7ff 100644 --- a/implementations/rust/ockam/ockam_api/src/orchestrator/project/controller_client.rs +++ b/implementations/rust/ockam/ockam_api/src/orchestrator/project/controller_client.rs @@ -156,7 +156,7 @@ impl ControllerClient { .into_iter() .find(|a| a.email == email.to_string()) .ok_or(miette!( - "A user with email {email} was not added to proejct {project_id}" + "A user with email {email} was not added to project {project_id}" )) } diff --git a/implementations/rust/ockam/ockam_api/src/orchestrator/subscription.rs b/implementations/rust/ockam/ockam_api/src/orchestrator/subscription.rs index 61a11d0a3b3..b50025743e1 100644 --- a/implementations/rust/ockam/ockam_api/src/orchestrator/subscription.rs +++ b/implementations/rust/ockam/ockam_api/src/orchestrator/subscription.rs @@ -398,11 +398,11 @@ pub mod tests { use std::str::FromStr; quickcheck! { - fn subcription_legacy(s: SubscriptionLegacy) -> TestResult { + fn subscription_legacy(s: SubscriptionLegacy) -> TestResult { validate_with_schema("subscription_legacy", s) } - fn activate_subcription(s: ActivateSubscription) -> TestResult { + fn activate_subscription(s: ActivateSubscription) -> TestResult { validate_with_schema("activate_subscription", s) } } diff --git a/implementations/rust/ockam/ockam_api/tests/portals.rs b/implementations/rust/ockam/ockam_api/tests/portals.rs index 80ebf6e1f6e..2c8a259959c 100644 --- a/implementations/rust/ockam/ockam_api/tests/portals.rs +++ b/implementations/rust/ockam/ockam_api/tests/portals.rs @@ -600,7 +600,7 @@ fn test_portal_payload_transfer(outgoing_disruption: Disruption, incoming_disrup .await .unwrap(); - // we can't send and read the data from a sigle async context + // we can't send and read the data from a single async context let (mut rx, mut tx) = stream.into_split(); let copied_buffer = random_buffer.clone();