Adjust comments in test case

This commit is contained in:
Niko Matsakis 2014-01-17 10:47:29 -05:00
parent 483ae32189
commit b520c2f280
1 changed files with 3 additions and 4 deletions

View File

@ -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);
}