mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-22 20:19:42 +00:00
add editable to problem 6 in zh-CN/src/lifetime/advance.md
This commit is contained in:
@ -237,7 +237,7 @@ struct Ref<'a, T> {
|
|||||||
## 艰难的练习
|
## 艰难的练习
|
||||||
|
|
||||||
6. 🌟🌟🌟🌟
|
6. 🌟🌟🌟🌟
|
||||||
```rust
|
```rust,editable
|
||||||
/* 使下面代码正常运行 */
|
/* 使下面代码正常运行 */
|
||||||
struct Interface<'a> {
|
struct Interface<'a> {
|
||||||
manager: &'a mut Manager<'a>
|
manager: &'a mut Manager<'a>
|
||||||
|
Reference in New Issue
Block a user