Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in documentation files #3434

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/src/rust_template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion lang/syn/src/codegen/program/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}");
Expand Down
2 changes: 1 addition & 1 deletion ts/packages/anchor/src/program/accounts-resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ export class AccountsResolver<IDL extends Idl> {
}

/**
* 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 {
Expand Down