Skip to content

Commit

Permalink
docs: fix require macro (#1269)
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-schaaf committed Jan 8, 2022
1 parent 49ad086 commit e3d733c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lang/src/lib.rs
Expand Up @@ -342,6 +342,7 @@ pub mod __private {
/// // An account validation struct
/// #[derive(Accounts)]
/// pub struct SetData<'info> {
/// #[account(mut)]
/// pub data: Account<'info, MyData>
/// }
/// ```
Expand Down

0 comments on commit e3d733c

Please sign in to comment.