Skip to content

Commit

Permalink
Fix some typos in doc comments (#3413)
Browse files Browse the repository at this point in the history
  • Loading branch information
needsure authored Dec 10, 2024
1 parent 7aae0da commit 8bc883a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 8bc883a

Please sign in to comment.