File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -240,6 +240,7 @@ pub mod sysvars;
240240#[ deprecated( since = "0.7.0" , note = "Use the `entrypoint` module instead" ) ]
241241pub use entrypoint:: lazy as lazy_entrypoint;
242242pub use solana_program_error as program_error;
243+ pub use solana_program_error:: ProgramResult ;
243244
244245/// Maximum number of accounts that a transaction may process.
245246///
@@ -259,9 +260,6 @@ const BPF_ALIGN_OF_U128: usize = 8;
259260/// Return value for a successful program execution.
260261pub const SUCCESS : u64 = 0 ;
261262
262- /// The result of a program execution.
263- pub type ProgramResult = Result < ( ) , program_error:: ProgramError > ;
264-
265263/// Module with functions to provide hints to the compiler about how code
266264/// should be optimized.
267265pub mod hint {
You can’t perform that action at this time.
0 commit comments