mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 12:39:42 +00:00
Fix typo in basic.md
This commit is contained in:
@ -42,7 +42,7 @@ fn main() {
|
|||||||
|
|
||||||
|
|
||||||
```rust,editable
|
```rust,editable
|
||||||
/* 像上面的示例一样,为 `r` 和 `x` 标准生命周期,然后从生命周期的角度. */
|
/* 像上面的示例一样,为 `r` 和 `x` 标注生命周期,然后从生命周期的角度. */
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user