diff --git a/idl/src/build.rs b/idl/src/build.rs index 0802f775ff..ccd897452e 100644 --- a/idl/src/build.rs +++ b/idl/src/build.rs @@ -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) -> Self { self.cargo_args.replace(cargo_args); diff --git a/tests/errors/programs/errors/src/lib.rs b/tests/errors/programs/errors/src/lib.rs index e13d8d4af8..168015f405 100644 --- a/tests/errors/programs/errors/src/lib.rs +++ b/tests/errors/programs/errors/src/lib.rs @@ -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::*; diff --git a/tests/lazy-account/programs/lazy-account/src/lib.rs b/tests/lazy-account/programs/lazy-account/src/lib.rs index 8947b5326a..88582d6f38 100644 --- a/tests/lazy-account/programs/lazy-account/src/lib.rs +++ b/tests/lazy-account/programs/lazy-account/src/lib.rs @@ -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`].