Bladeren bron

docs: fix typo (#3868)

* Update lib.rs

* Update lib.rs
Alvarez 1 maand geleden
bovenliggende
commit
fdc5c519bb
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1 1
      tests/cfo/programs/cfo/src/lib.rs
  2. 1 1
      tests/lockup/programs/registry/src/lib.rs

+ 1 - 1
tests/cfo/programs/cfo/src/lib.rs

@@ -964,7 +964,7 @@ fn is_stake_reward_ready(accounts: &DropStakeReward) -> Result<()> {
     Ok(())
 }
 
-// Redefintions.
+// Redefinitions.
 //
 // The following types are redefined so that they can be parsed into the IDL,
 // since Anchor doesn't yet support idl parsing across multiple crates.

+ 1 - 1
tests/lockup/programs/registry/src/lib.rs

@@ -1011,7 +1011,7 @@ pub struct ExpireReward<'info> {
 
 #[account]
 pub struct Registrar {
-    /// Priviledged account.
+    /// Privileged account.
     pub authority: Pubkey,
     /// Nonce to derive the program-derived address owning the vaults.
     pub nonce: u8,