Fix doc test.
This commit is contained in:
parent
9de41e7559
commit
98f227d640
@ -839,6 +839,8 @@ impl AST {
|
|||||||
///
|
///
|
||||||
/// { // <- new block scope
|
/// { // <- new block scope
|
||||||
/// const Z = 0; // <- literal constant not at top-level
|
/// const Z = 0; // <- literal constant not at top-level
|
||||||
|
///
|
||||||
|
/// print(Z); // make sure the block is not optimized away
|
||||||
/// }
|
/// }
|
||||||
/// ")?;
|
/// ")?;
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user