mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Adjust comments in test case
This commit is contained in:
parent
483ae32189
commit
b520c2f280
@ -67,8 +67,7 @@ macro_rules! end_of_block(
|
||||
println!("end_of_block({})", stringify!({let $pat = $expr;}));
|
||||
|
||||
{
|
||||
// Destructor here does not run until exit from the block,
|
||||
// because value is assigned to.
|
||||
// Destructor here does not run until exit from the block.
|
||||
let $pat = $expr;
|
||||
check_flags(0);
|
||||
}
|
||||
@ -83,8 +82,8 @@ macro_rules! end_of_stmt(
|
||||
println!("end_of_stmt({})", stringify!($expr));
|
||||
|
||||
{
|
||||
// Destructor here does not run until exit from the block,
|
||||
// because value is assigned to.
|
||||
// Destructor here run after `let` statement
|
||||
// terminates.
|
||||
let $pat = $expr;
|
||||
check_flags(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user