Browse Source

docs: fix typos (#3774)

Zero Xplorer 2 months ago
parent
commit
3dd2386d89
3 changed files with 3 additions and 3 deletions
  1. 1 1
      cli/src/rust_template.rs
  2. 1 1
      lang/syn/src/lib.rs
  3. 1 1
      tests/lockup/docs/staking.md

+ 1 - 1
cli/src/rust_template.rs

@@ -695,7 +695,7 @@ impl TestTemplate {
                 }
                 }
             }
             }
             Self::Rust => {
             Self::Rust => {
-                // Do not initilize git repo
+                // Do not initialize git repo
                 let exit = std::process::Command::new("cargo")
                 let exit = std::process::Command::new("cargo")
                     .arg("new")
                     .arg("new")
                     .arg("--vcs")
                     .arg("--vcs")

+ 1 - 1
lang/syn/src/lib.rs

@@ -1087,7 +1087,7 @@ pub struct ConstraintTokenMintGroup {
     pub transfer_hook_program_id: Option<Expr>,
     pub transfer_hook_program_id: Option<Expr>,
 }
 }
 
 
-// Syntaxt context object for preserving metadata about the inner item.
+// Syntax context object for preserving metadata about the inner item.
 #[derive(Debug, Clone)]
 #[derive(Debug, Clone)]
 pub struct Context<T> {
 pub struct Context<T> {
     span: Span,
     span: Span,

+ 1 - 1
tests/lockup/docs/staking.md

@@ -123,7 +123,7 @@ the reward is automatically received by owners of the staking pool token upon re
 known as "gulping"--since dropping rewards increases the total value of the pool
 known as "gulping"--since dropping rewards increases the total value of the pool
 while their proportion of the pool remained constant.
 while their proportion of the pool remained constant.
 
 
-However, there are enough downsides with using an AMM style pool to offset the convience.
+However, there are enough downsides with using an AMM style pool to offset the convenience.
 Unfortunately, it loses the nice balance isolation property **Member** accounts have, because
 Unfortunately, it loses the nice balance isolation property **Member** accounts have, because
 tokens have to be pooled into the same vault, which is an additional security concern that could
 tokens have to be pooled into the same vault, which is an additional security concern that could
 easily lead to loss of funds, e.g., if there's a bug in the redemption calculation. Moreover, dropping
 easily lead to loss of funds, e.g., if there's a bug in the redemption calculation. Moreover, dropping