Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ukint-vs committed Aug 20, 2023
1 parent faa98f9 commit a9b3de0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core-backend/common/src/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ use num_enum::{IntoPrimitive, TryFromPrimitive};
use scale_info::scale::{Decode, DecodeAll, Encode, MaxEncodedLen};

/// Memory access error during sys-call that lazy-pages have caught.
/// 0 index is reserved for an ok result.
#[derive(Debug, Clone, Encode, Decode, IntoPrimitive, TryFromPrimitive)]
#[repr(u8)]
pub enum ProcessAccessError {
Expand Down

0 comments on commit a9b3de0

Please sign in to comment.