2020-11-05 07:29:48 -06:00
|
|
|
// originally from glacier/fixed/77218.rs
|
|
|
|
// ice while adjusting...
|
2023-08-24 14:32:12 -05:00
|
|
|
//@no-rustfix
|
2020-11-05 07:29:48 -06:00
|
|
|
pub struct Cache {
|
|
|
|
data: Vec<i32>,
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn list_data(cache: &Cache, key: usize) {
|
|
|
|
for reference in vec![1, 2, 3] {
|
|
|
|
if
|
|
|
|
/* let */
|
|
|
|
Some(reference) = cache.data.get(key) {
|
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|