diff --git a/docs/docs/noir/concepts/functions.md b/docs/docs/noir/concepts/functions.md index b58d2d90957..3d04750e23b 100644 --- a/docs/docs/noir/concepts/functions.md +++ b/docs/docs/noir/concepts/functions.md @@ -28,7 +28,7 @@ pub(crate) fn foo() {} //foo can only be called within its crate ``` All parameters in a function must have a type and all types are known at compile time. The parameter -is pre-pended with a colon and the parameter type. Multiple parameters are separated using a comma. +is prepended with a colon and the parameter type. Multiple parameters are separated using a comma. ```rust fn foo(x : Field, y : Field){} diff --git a/tooling/lsp/src/requests/completion.rs b/tooling/lsp/src/requests/completion.rs index 0db1e11a88a..cecf8c75385 100644 --- a/tooling/lsp/src/requests/completion.rs +++ b/tooling/lsp/src/requests/completion.rs @@ -1003,7 +1003,7 @@ impl<'a> NodeFinder<'a> { fn resolve_path(&self, segments: Vec) -> Option { let last_segment = segments.last().unwrap().clone(); - // If we can't resolve a path trough lookup, let's see if the last segment is bound to a type + // If we can't resolve a path through lookup, let's see if the last segment is bound to a type let location = Location::new(last_segment.span(), self.file); if let Some(reference_id) = self.interner.find_referenced(location) { if let Some(id) = module_def_id_from_reference_id(reference_id) { diff --git a/tooling/ssa_fuzzer/README.md b/tooling/ssa_fuzzer/README.md index 6c7d9c1f1a7..13ec1aacea6 100644 --- a/tooling/ssa_fuzzer/README.md +++ b/tooling/ssa_fuzzer/README.md @@ -98,7 +98,7 @@ This command creates two new SSA blocks. b1 b2 ``` Inserts chosen instruction blocks into b1 and b2. -Then terminates b0 with jmp_if_else and switch context to b1. Condtion for jmp_if_else is the last defined boolean variable in the block. +Then terminates b0 with jmp_if_else and switch context to b1. Condition for jmp_if_else is the last defined boolean variable in the block. ``` b0 then ↙ ↘ else