diff options
author | Aleksey Kladov <[email protected]> | 2018-08-26 07:12:18 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-26 07:12:18 +0100 |
commit | a450142aca947b9364e498897f522f854f19781d (patch) | |
tree | f4ebe8f259582042bd251c595629599abcbe9524 /crates/libsyntax2/src/lib.rs | |
parent | a48964c64de635f532874ede293d91df54e624d7 (diff) |
fix stray curly
Diffstat (limited to 'crates/libsyntax2/src/lib.rs')
-rw-r--r-- | crates/libsyntax2/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/libsyntax2/src/lib.rs b/crates/libsyntax2/src/lib.rs index 9ba9970c9..93057dd6a 100644 --- a/crates/libsyntax2/src/lib.rs +++ b/crates/libsyntax2/src/lib.rs | |||
@@ -127,12 +127,12 @@ fn validate_block_structure(root: SyntaxNodeRef) { | |||
127 | assert_eq!( | 127 | assert_eq!( |
128 | node.parent(), | 128 | node.parent(), |
129 | pair.parent(), | 129 | pair.parent(), |
130 | "unpaired curleys:\n{}", | 130 | "\nunpaired curleys:\n{}", |
131 | utils::dump_tree(root), | 131 | utils::dump_tree(root), |
132 | ); | 132 | ); |
133 | assert!( | 133 | assert!( |
134 | node.next_sibling().is_none() && pair.prev_sibling().is_none(), | 134 | node.next_sibling().is_none() && pair.prev_sibling().is_none(), |
135 | "floating curlys at {:?}\nfile:\n{}\nerror:\n{}\n", | 135 | "\nfloating curlys at {:?}\nfile:\n{}\nerror:\n{}\n", |
136 | node, | 136 | node, |
137 | root.text(), | 137 | root.text(), |
138 | node.text(), | 138 | node.text(), |