mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-08-12 14:34:48 +00:00
Add [Advanced Lifetime] chapter
This commit is contained in:
@@ -270,7 +270,7 @@ fn main()
|
||||
let no_copy = NoCopyType {};
|
||||
let example = Example { a: &1, b: &no_copy };
|
||||
fix_me(&example);
|
||||
print!("Success!")
|
||||
println!("Success!")
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user