diff --git a/cli/src/rust_template.rs b/cli/src/rust_template.rs index 9d496d3536..34980c535c 100644 --- a/cli/src/rust_template.rs +++ b/cli/src/rust_template.rs @@ -695,7 +695,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/attribute/account/src/lazy.rs b/lang/attribute/account/src/lazy.rs index 10572097a1..e20bbae7f2 100644 --- a/lang/attribute/account/src/lazy.rs +++ b/lang/attribute/account/src/lazy.rs @@ -21,7 +21,7 @@ pub fn gen_lazy(strct: &syn::ItemStruct) -> syn::Result { let load_panic_docs = quote! { /// # Panics /// - /// If there is an existing mutable reference crated by any of the `load_mut` methods. + /// If there is an existing mutable reference created by any of the `load_mut` methods. }; let load_mut_panic_docs = quote! { /// # Panics diff --git a/tests/lockup/programs/registry/src/lib.rs b/tests/lockup/programs/registry/src/lib.rs index 20db9ed694..c7fe9e35f9 100644 --- a/tests/lockup/programs/registry/src/lib.rs +++ b/tests/lockup/programs/registry/src/lib.rs @@ -1011,7 +1011,7 @@ pub struct ExpireReward<'info> { #[account] pub struct Registrar { - /// Priviledged account. + /// Privileged account. pub authority: Pubkey, /// Nonce to derive the program-derived address owning the vaults. pub nonce: u8,