mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
we don't need to write var_name after block expr?
This commit is contained in:
parent
a996b66cc6
commit
1538ca3ae5
@ -153,7 +153,6 @@ fn foo() {
|
||||
"
|
||||
fn foo() {
|
||||
let <|>var_name = { let x = 0; x };
|
||||
var_name
|
||||
something_else();
|
||||
}",
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user