File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11use {
22 crate :: processor:: * ,
33 core:: {
4- mem:: { transmute, MaybeUninit } ,
4+ mem:: { size_of , transmute, MaybeUninit } ,
55 slice:: from_raw_parts,
66 } ,
77 pinocchio:: {
88 account_info:: AccountInfo ,
99 entrypoint:: deserialize,
10- hint :: likely ,
10+ log :: sol_log ,
1111 no_allocator, nostd_panic_handler,
1212 program_error:: { ProgramError , ToStr } ,
1313 ProgramResult , MAX_TX_ACCOUNTS , SUCCESS ,
1414 } ,
15- pinocchio_token_interface:: error:: TokenError ,
15+ pinocchio_token_interface:: { error:: TokenError , likely } ,
1616} ;
1717
1818// Do not allocate memory.
@@ -216,7 +216,7 @@ pub unsafe extern "C" fn entrypoint(input: *mut u8) -> u64 {
216216/// Log an error.
217217#[ cold]
218218fn log_error ( error : & ProgramError ) {
219- pinocchio :: log :: sol_log ( error. to_str :: < TokenError > ( ) ) ;
219+ sol_log ( error. to_str :: < TokenError > ( ) ) ;
220220}
221221
222222/// Process an instruction.
You can’t perform that action at this time.
0 commit comments