Skip to content

Commit

Permalink
remove unnecessary pub
Browse files Browse the repository at this point in the history
  • Loading branch information
seanyoung committed Dec 4, 2024
1 parent e65e7ab commit 6b77a54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions programs/bpf_loader/src/syscalls/mem_ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ where
Ok(T::default())
}

pub struct MemoryChunkIterator<'a> {
struct MemoryChunkIterator<'a> {
memory_mapping: &'a MemoryMapping<'a>,
accounts: &'a [SerializedAccountMetadata],
access_type: AccessType,
Expand All @@ -454,7 +454,7 @@ pub struct MemoryChunkIterator<'a> {
}

impl<'a> MemoryChunkIterator<'a> {
pub fn new(
fn new(
memory_mapping: &'a MemoryMapping,
accounts: &'a [SerializedAccountMetadata],
access_type: AccessType,
Expand Down

0 comments on commit 6b77a54

Please sign in to comment.