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

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Jun 18, 2022
1 parent 84539f0 commit bd869a2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ices/98170.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
pub struct MyStruct<'a> {
field: &'a [u32],
}

impl MyStruct<'_> {
pub fn new<'a>(field: &'a[u32]) -> MyStruct<'a> {
Self{field}
}
}

fn main() {}

0 comments on commit bd869a2

Please sign in to comment.