docs: fix require macro (#1269)

This commit is contained in:
Paul 2022-01-08 22:29:00 +01:00 committed by GitHub
parent 49ad086edc
commit e3d733c996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -342,6 +342,7 @@ pub mod __private {
/// // An account validation struct
/// #[derive(Accounts)]
/// pub struct SetData<'info> {
/// #[account(mut)]
/// pub data: Account<'info, MyData>
/// }
/// ```