Skip to content

Commit

Permalink
add:Do7and (#61)
Browse files Browse the repository at this point in the history
Do7and
  • Loading branch information
Do7and authored Feb 12, 2024
1 parent 9e35e11 commit 6d7abb1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Binary file added Do7and/2024212-154327.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Do7and/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
loop 并使用std::mem::forget
7 changes: 7 additions & 0 deletions Do7and/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fn main() {
loop {
let l = vec!['l'];
std::mem::forget(l);
}

}

0 comments on commit 6d7abb1

Please sign in to comment.