Bläddra i källkod

docs: Two small typo fixes (#242)

guanqun 4 år sedan
förälder
incheckning
ccc5ba8a37
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. 2 2
      docs/src/cli/commands.md
  2. 1 1
      lang/attribute/error/src/lib.rs

+ 2 - 2
docs/src/cli/commands.md

@@ -70,7 +70,7 @@ it will generate a *new* program address.
 ## Upgrade
 
 ```
-anchor upgrade <target/deplooy/program.so> --program-id <program-id>
+anchor upgrade <target/deploy/program.so> --program-id <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.
+Verifies the on-chain bytecode matches the locally compiled artifact.

+ 1 - 1
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,
 /// }
 /// ```