diff --git a/docs/src/cli/commands.md b/docs/src/cli/commands.md index be481dd96..d37e4a033 100644 --- a/docs/src/cli/commands.md +++ b/docs/src/cli/commands.md @@ -70,7 +70,7 @@ it will generate a *new* program address. ## Upgrade ``` -anchor upgrade --program-id +anchor upgrade --program-id ``` Uses Solana's upgradeable BPF loader to upgrade the on chain program code. @@ -221,4 +221,4 @@ Cluster Endpoints: ## Verify -Verifies the on-chain bytecode matches the locally compiled artifact. \ No newline at end of file +Verifies the on-chain bytecode matches the locally compiled artifact. diff --git a/lang/attribute/error/src/lib.rs b/lang/attribute/error/src/lib.rs index cc4e4c2a9..1d9e72095 100644 --- a/lang/attribute/error/src/lib.rs +++ b/lang/attribute/error/src/lib.rs @@ -29,7 +29,7 @@ use syn::parse_macro_input; /// /// #[error] /// pub enum MyError { -/// #[msg("This is an error message clients cant automatically display")] +/// #[msg("This is an error message clients will automatically display")] /// Hello, /// } /// ```