Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/content/docs/basics/program-structure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,14 @@ The
type provides the instruction with access to the following non-argument inputs:

```rust
pub struct Context<'a, 'b, 'c, 'info, T: Bumps> {
pub struct Context<'info, T: Bumps> {
/// Currently executing program id.
pub program_id: &'a Pubkey,
pub program_id: &'info Pubkey,
/// Deserialized accounts.
pub accounts: &'b mut T,
pub accounts: &'info mut T,
/// Remaining accounts given but not deserialized or validated.
/// Be very careful when using this directly.
pub remaining_accounts: &'c [AccountInfo<'info>],
pub remaining_accounts: &'info [AccountInfo<'info>],
/// Bump seeds found during constraint validation. This is provided as a
/// convenience so that handlers don't have to recalculate bump seeds or
/// pass them in as arguments.
Expand Down
Loading