From 60cdefea55f40413ae5f65669bf30306333f53ee Mon Sep 17 00:00:00 2001 From: Armani Ferrante Date: Tue, 15 Jun 2021 19:06:25 -0700 Subject: [PATCH] docs: Update rent_exempt constraint (#389) --- docs/src/tutorials/tutorial-1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/tutorials/tutorial-1.md b/docs/src/tutorials/tutorial-1.md index 1e2fa37d3..5924962e1 100644 --- a/docs/src/tutorials/tutorial-1.md +++ b/docs/src/tutorials/tutorial-1.md @@ -49,7 +49,7 @@ for the first time (and thus its data field is all zero). If `#[account(init)]` when account data is zero initialized, the transaction will be rejected. 3. The `Rent` **sysvar** is required for the rent exemption check, which the framework enforces by default for any account marked with `#[account(init)]`. To be more explicit about the check, -one can specify `#[account(init, rent_exempt)]`. To skip this check, (and thus +one can specify `#[account(init, rent_exempt = enforce)]`. To skip this check, (and thus allowing you to omit the `Rent` acccount), you can specify `#[account(init, rent_exempt = skip)]` on the account being initialized (here, `my_account`).