Selaa lähdekoodia

rustfmt: use entrypoint full path

This PR swaps any calls to the `entrypoint!` macro with the full path, ie: `solana_program::entrypoint!`.

This will play a role in the effort to introduce a linting standard to SPL.
Joe C 1 vuosi sitten
vanhempi
sitoutus
1679cf9388
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      program/src/entrypoint.rs

+ 3 - 3
program/src/entrypoint.rs

@@ -2,11 +2,11 @@
 
 use crate::{error::TokenError, processor::Processor};
 use solana_program::{
-    account_info::AccountInfo, entrypoint, entrypoint::ProgramResult,
-    program_error::PrintProgramError, pubkey::Pubkey,
+    account_info::AccountInfo, entrypoint::ProgramResult, program_error::PrintProgramError,
+    pubkey::Pubkey,
 };
 
-entrypoint!(process_instruction);
+solana_program::entrypoint!(process_instruction);
 fn process_instruction(
     program_id: &Pubkey,
     accounts: &[AccountInfo],