From 7099556356f41a3e6a9b716a355ca16c2d6b2c87 Mon Sep 17 00:00:00 2001 From: Alex Saveau Date: Sun, 24 Dec 2023 00:32:48 +0100 Subject: [PATCH] Typos Signed-off-by: Alex Saveau --- tracy-client/src/gpu.rs | 4 ++-- tracy-client/src/state.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tracy-client/src/gpu.rs b/tracy-client/src/gpu.rs index fc3b722..18d8037 100644 --- a/tracy-client/src/gpu.rs +++ b/tracy-client/src/gpu.rs @@ -96,7 +96,7 @@ impl std::fmt::Display for GpuContextCreationError { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { write!( f, - "More than 255 contexts have been created at any point in the exection of this program." + "More than 255 contexts have been created at any point in the execution of this program." ) } } @@ -199,7 +199,7 @@ impl Client { }; if let Some(name) = name { - // SAFTEY: + // SAFETY: // - We've allocated a context. // - The names will copied into the command stream, so the pointers do not need to last. unsafe { diff --git a/tracy-client/src/state.rs b/tracy-client/src/state.rs index 3e0f55c..d138efb 100644 --- a/tracy-client/src/state.rs +++ b/tracy-client/src/state.rs @@ -61,7 +61,7 @@ impl Client { /// anywhere in the process. This function can be called multiple times to obtain multiple /// `Client` values. /// - /// The underying client implementation will be started up only if it wasn't already running + /// The underlying client implementation will be started up only if it wasn't already running /// yet. /// /// Note that there currently isn't a mechanism to stop the client once it has been started.