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

chore: fix some typos in comment #3413

Merged
merged 1 commit into from
Dec 10, 2024
Merged
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 idl/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl IdlBuilder {
self
}

/// Set the `cargo` args that will get passed to the underyling `cargo` command when building
/// Set the `cargo` args that will get passed to the underlying `cargo` command when building
/// IDLs (default: empty).
pub fn cargo_args(mut self, cargo_args: Vec<String>) -> Self {
self.cargo_args.replace(cargo_args);
Expand Down
2 changes: 1 addition & 1 deletion tests/errors/programs/errors/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! This example demonstrates how custom errors and associated error messsages
//! This example demonstrates how custom errors and associated error messages
//! can be defined and transparently propagated to clients.

use anchor_lang::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion tests/lazy-account/programs/lazy-account/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Tests demonstraing the usage of [`LazyAccount`].
//!
//! The tests have been simplied by using a stack heavy account in order to demonstrate the usage
//! The tests have been simplified by using a stack heavy account in order to demonstrate the usage
//! and its usefulness without adding excessive amount of accounts.
//!
//! See the individual instructions for more documentation: [`Init`], [`Read`], [`Write`].
Expand Down
Loading