mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-03 07:48:41 +08:00
Removing a reference that I don't think adds much
This commit is contained in:
parent
5b94ec1bb6
commit
b540f35118
@ -234,7 +234,7 @@ The variable binding for `x` goes out of scope with the last curly brace in the
|
|||||||
|
|
||||||
This example only has one scope, though. In Rust, it's possible to create
|
This example only has one scope, though. In Rust, it's possible to create
|
||||||
arbitrary scopes within a scope by placing code within another pair of curly
|
arbitrary scopes within a scope by placing code within another pair of curly
|
||||||
braces (we'll look at this more in the next chapter). For example:
|
braces. For example:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
fn main() {
|
fn main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user