Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
  • Loading branch information
SUPERCILEX authored and nagisa committed Dec 26, 2023
1 parent 53fa375 commit 7099556
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tracy-client/src/gpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)
}
}
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion tracy-client/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7099556

Please sign in to comment.