Skip to content

Commit 6d7abb1

Browse files
authored
add:Do7and (#61)
Do7and
1 parent 9e35e11 commit 6d7abb1

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

Do7and/2024212-154327.png

179 KB
Loading

Do7and/README.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
loop 并使用std::mem::forget

Do7and/main.rs

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
fn main() {
2+
loop {
3+
let l = vec!['l'];
4+
std::mem::forget(l);
5+
}
6+
7+
}

0 commit comments

Comments
 (0)