diff --git a/cli/src/rust_template.rs b/cli/src/rust_template.rs index be11e7c28d..ab941cb7fb 100644 --- a/cli/src/rust_template.rs +++ b/cli/src/rust_template.rs @@ -699,7 +699,7 @@ impl TestTemplate { } } Self::Rust => { - // Do not initilize git repo + // Do not initialize git repo let exit = std::process::Command::new("cargo") .arg("new") .arg("--vcs") diff --git a/lang/syn/src/codegen/program/common.rs b/lang/syn/src/codegen/program/common.rs index 969b30f2f3..87ad94bd27 100644 --- a/lang/syn/src/codegen/program/common.rs +++ b/lang/syn/src/codegen/program/common.rs @@ -8,7 +8,7 @@ pub const SIGHASH_GLOBAL_NAMESPACE: &str = "global"; // We don't technically use sighash, because the input arguments aren't given. // Rust doesn't have method overloading so no need to use the arguments. -// However, we do namespace methods in the preeimage so that we can use +// However, we do namespace methods in the preimage so that we can use // different traits with the same method name. pub fn sighash(namespace: &str, name: &str) -> [u8; 8] { let preimage = format!("{namespace}:{name}"); diff --git a/ts/packages/anchor/src/program/accounts-resolver.ts b/ts/packages/anchor/src/program/accounts-resolver.ts index 5ece611432..9cc85f2829 100644 --- a/ts/packages/anchor/src/program/accounts-resolver.ts +++ b/ts/packages/anchor/src/program/accounts-resolver.ts @@ -452,7 +452,7 @@ export class AccountsResolver { } /** - * Converts the given idl valaue into a Buffer. The values here must be + * Converts the given idl value into a Buffer. The values here must be * primitives, e.g. no structs. */ private toBufferValue(type: any, value: any): Buffer {