Skip to content

Commit

Permalink
Bump kinobi version
Browse files Browse the repository at this point in the history
  • Loading branch information
febo committed Sep 8, 2023
1 parent 16f1a35 commit 35dcab7
Show file tree
Hide file tree
Showing 96 changed files with 5,092 additions and 5,092 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ impl CollectionAuthorityRecord {
}
}

impl<'a> TryFrom<&'a solana_program::account_info::AccountInfo<'a>> for CollectionAuthorityRecord {
impl<'a> TryFrom<&solana_program::account_info::AccountInfo<'a>> for CollectionAuthorityRecord {
type Error = std::io::Error;

fn try_from(
account_info: &'a solana_program::account_info::AccountInfo<'a>,
account_info: &solana_program::account_info::AccountInfo<'a>,
) -> Result<Self, Self::Error> {
let mut data: &[u8] = &(*account_info.data).borrow();
Self::deserialize(&mut data)
Expand Down
4 changes: 2 additions & 2 deletions clients/rust/src/generated/accounts/edition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ impl Edition {
}
}

impl<'a> TryFrom<&'a solana_program::account_info::AccountInfo<'a>> for Edition {
impl<'a> TryFrom<&solana_program::account_info::AccountInfo<'a>> for Edition {
type Error = std::io::Error;

fn try_from(
account_info: &'a solana_program::account_info::AccountInfo<'a>,
account_info: &solana_program::account_info::AccountInfo<'a>,
) -> Result<Self, Self::Error> {
let mut data: &[u8] = &(*account_info.data).borrow();
Self::deserialize(&mut data)
Expand Down
4 changes: 2 additions & 2 deletions clients/rust/src/generated/accounts/edition_marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ impl EditionMarker {
}
}

impl<'a> TryFrom<&'a solana_program::account_info::AccountInfo<'a>> for EditionMarker {
impl<'a> TryFrom<&solana_program::account_info::AccountInfo<'a>> for EditionMarker {
type Error = std::io::Error;

fn try_from(
account_info: &'a solana_program::account_info::AccountInfo<'a>,
account_info: &solana_program::account_info::AccountInfo<'a>,
) -> Result<Self, Self::Error> {
let mut data: &[u8] = &(*account_info.data).borrow();
Self::deserialize(&mut data)
Expand Down
4 changes: 2 additions & 2 deletions clients/rust/src/generated/accounts/edition_marker_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ impl EditionMarkerV2 {
}
}

impl<'a> TryFrom<&'a solana_program::account_info::AccountInfo<'a>> for EditionMarkerV2 {
impl<'a> TryFrom<&solana_program::account_info::AccountInfo<'a>> for EditionMarkerV2 {
type Error = std::io::Error;

fn try_from(
account_info: &'a solana_program::account_info::AccountInfo<'a>,
account_info: &solana_program::account_info::AccountInfo<'a>,
) -> Result<Self, Self::Error> {
let mut data: &[u8] = &(*account_info.data).borrow();
Self::deserialize(&mut data)
Expand Down
4 changes: 2 additions & 2 deletions clients/rust/src/generated/accounts/master_edition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ impl MasterEdition {
}
}

impl<'a> TryFrom<&'a solana_program::account_info::AccountInfo<'a>> for MasterEdition {
impl<'a> TryFrom<&solana_program::account_info::AccountInfo<'a>> for MasterEdition {
type Error = std::io::Error;

fn try_from(
account_info: &'a solana_program::account_info::AccountInfo<'a>,
account_info: &solana_program::account_info::AccountInfo<'a>,
) -> Result<Self, Self::Error> {
let mut data: &[u8] = &(*account_info.data).borrow();
Self::deserialize(&mut data)
Expand Down
4 changes: 2 additions & 2 deletions clients/rust/src/generated/accounts/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ impl Metadata {
}
}

impl<'a> TryFrom<&'a solana_program::account_info::AccountInfo<'a>> for Metadata {
impl<'a> TryFrom<&solana_program::account_info::AccountInfo<'a>> for Metadata {
type Error = std::io::Error;

fn try_from(
account_info: &'a solana_program::account_info::AccountInfo<'a>,
account_info: &solana_program::account_info::AccountInfo<'a>,
) -> Result<Self, Self::Error> {
let mut data: &[u8] = &(*account_info.data).borrow();
Self::deserialize(&mut data)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ impl MetadataDelegateRecord {
}
}

impl<'a> TryFrom<&'a solana_program::account_info::AccountInfo<'a>> for MetadataDelegateRecord {
impl<'a> TryFrom<&solana_program::account_info::AccountInfo<'a>> for MetadataDelegateRecord {
type Error = std::io::Error;

fn try_from(
account_info: &'a solana_program::account_info::AccountInfo<'a>,
account_info: &solana_program::account_info::AccountInfo<'a>,
) -> Result<Self, Self::Error> {
let mut data: &[u8] = &(*account_info.data).borrow();
Self::deserialize(&mut data)
Expand Down
4 changes: 2 additions & 2 deletions clients/rust/src/generated/accounts/token_owned_escrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ impl TokenOwnedEscrow {
}
}

impl<'a> TryFrom<&'a solana_program::account_info::AccountInfo<'a>> for TokenOwnedEscrow {
impl<'a> TryFrom<&solana_program::account_info::AccountInfo<'a>> for TokenOwnedEscrow {
type Error = std::io::Error;

fn try_from(
account_info: &'a solana_program::account_info::AccountInfo<'a>,
account_info: &solana_program::account_info::AccountInfo<'a>,
) -> Result<Self, Self::Error> {
let mut data: &[u8] = &(*account_info.data).borrow();
Self::deserialize(&mut data)
Expand Down
4 changes: 2 additions & 2 deletions clients/rust/src/generated/accounts/token_record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ impl TokenRecord {
}
}

impl<'a> TryFrom<&'a solana_program::account_info::AccountInfo<'a>> for TokenRecord {
impl<'a> TryFrom<&solana_program::account_info::AccountInfo<'a>> for TokenRecord {
type Error = std::io::Error;

fn try_from(
account_info: &'a solana_program::account_info::AccountInfo<'a>,
account_info: &solana_program::account_info::AccountInfo<'a>,
) -> Result<Self, Self::Error> {
let mut data: &[u8] = &(*account_info.data).borrow();
Self::deserialize(&mut data)
Expand Down
4 changes: 2 additions & 2 deletions clients/rust/src/generated/accounts/use_authority_record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ impl UseAuthorityRecord {
}
}

impl<'a> TryFrom<&'a solana_program::account_info::AccountInfo<'a>> for UseAuthorityRecord {
impl<'a> TryFrom<&solana_program::account_info::AccountInfo<'a>> for UseAuthorityRecord {
type Error = std::io::Error;

fn try_from(
account_info: &'a solana_program::account_info::AccountInfo<'a>,
account_info: &solana_program::account_info::AccountInfo<'a>,
) -> Result<Self, Self::Error> {
let mut data: &[u8] = &(*account_info.data).borrow();
Self::deserialize(&mut data)
Expand Down
Loading

0 comments on commit 35dcab7

Please sign in to comment.