Skip to content

nit: Use anonymous lifetimes for CpiContext #76

@armaniferrante

Description

@armaniferrante

This line https://github.com/Synthetify/synthetify-protocol/blob/master/programs/exchange/src/lib.rs#L1865 can be rewritten

impl<'_, '_, '_, 'info> From<&UseSwapLine<'info>> for CpiContext<'_, '_, '_, 'info, MintTo<'info>> {
    fn from(accounts: &UseSwapLine<'info>) -> CpiContext<'_, '_, '_, 'info, MintTo<'info>> {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions