Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1334 from matthiaskrgr/x
Browse files Browse the repository at this point in the history
add 2 ices
  • Loading branch information
Alexendoo authored Jul 7, 2022
2 parents e692372 + 4a3c970 commit c6f07c9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ices/98897.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pub fn main() {
(|_, ()| ())([return, ()]);
}
13 changes: 13 additions & 0 deletions ices/98932.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
pub struct EntriesBuffer(Box<[[u8; HashesEntry::LEN]; 5]>);

impl EntriesBuffer {
pub fn iter_child_buffers(&mut self) -> impl Iterator<Item = &mut [u8; HashesEntry::LEN]> {
self.0.iter_mut()
}
}

pub struct HashesEntry<'a>(&'a [u8]);

impl HashesEntry<'_> {
pub const LEN: usize = 1;
}

0 comments on commit c6f07c9

Please sign in to comment.