Skip to content

Commit 41e3b8b

Browse files
author
WaySLOG
committed
Merge pull request #159 from stormgbs/master
修改个别错别字
2 parents 8e6acf0 + 28fbd94 commit 41e3b8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

12-ownership-system/12-01-ownership.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ int* foo() {
2828
上面定义了一个i32类型的标识符a,如果你直接println,你会收到一个error报错:
2929
> error: use of possibly uninitialized variable: `a`
3030
31-
这是**因为Rust并不会像其他语言一样可以为变量默认初始化值,Rust明确规定变量的初始值必须有程序员自己决定**
31+
这是**因为Rust并不会像其他语言一样可以为变量默认初始化值,Rust明确规定变量的初始值必须由程序员自己决定**
3232

3333
正确的做法:
3434
```rust

0 commit comments

Comments
 (0)