mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-01-23 23:50:25 +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
|
||||
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
|
||||
fn main() {
|
||||
|
Loading…
Reference in New Issue
Block a user