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

Commit c6f07c9

Browse files
authored
Merge pull request #1334 from matthiaskrgr/x
add 2 ices
2 parents e692372 + 4a3c970 commit c6f07c9

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

ices/98897.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pub fn main() {
2+
(|_, ()| ())([return, ()]);
3+
}

ices/98932.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
pub struct EntriesBuffer(Box<[[u8; HashesEntry::LEN]; 5]>);
2+
3+
impl EntriesBuffer {
4+
pub fn iter_child_buffers(&mut self) -> impl Iterator<Item = &mut [u8; HashesEntry::LEN]> {
5+
self.0.iter_mut()
6+
}
7+
}
8+
9+
pub struct HashesEntry<'a>(&'a [u8]);
10+
11+
impl HashesEntry<'_> {
12+
pub const LEN: usize = 1;
13+
}

0 commit comments

Comments
 (0)