Procházet zdrojové kódy

Fix typo in account.rs docs (#2587)

Proph3t před 2 roky
rodič
revize
be8764b8a8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      lang/src/accounts/account.rs

+ 1 - 1
lang/src/accounts/account.rs

@@ -28,7 +28,7 @@ use std::ops::{Deref, DerefMut};
 /// This means that the data type that Accounts wraps around (`=T`) needs to
 /// implement the [Owner trait](crate::Owner).
 /// The `#[account]` attribute implements the Owner trait for
-/// a struct using the `crate::ID` declared by [`declareId`](crate::declare_id)
+/// a struct using the `crate::ID` declared by [`declare_id`](crate::declare_id)
 /// in the same program. It follows that Account can also be used
 /// with a `T` that comes from a different program.
 ///