Skip to content

Commit

Permalink
crates/sel4: Derive Default instance for IpcBuffer
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <[email protected]>
  • Loading branch information
nspin committed Feb 26, 2024
1 parent f398c5f commit d44f3de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/sel4/src/ipc_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use core::slice;
use crate::{newtype_methods, sys, AbsoluteCPtr, CNode, Word};

/// Corresponds to `seL4_IPCBuffer`.
#[derive(Default)]
#[repr(transparent)]
pub struct IpcBuffer(sys::seL4_IPCBuffer);

Expand Down

0 comments on commit d44f3de

Please sign in to comment.