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

Commit df0045d

Browse files
committed
1 parent 84539f0 commit df0045d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

ices/98170.rs

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
pub struct MyStruct<'a> {
2+
field: &'a [u32],
3+
}
4+
5+
impl MyStruct<'_> {
6+
pub fn new<'a>(field: &'a[u32]) -> MyStruct<'a> {
7+
Self{field}
8+
}
9+
}
10+
11+
fn main() {}

0 commit comments

Comments
 (0)