1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-08-01 13:07:47 +00:00

refactor: remove debugging comments

This commit is contained in:
Kevin Amado 2022-03-08 18:19:35 -05:00
parent 70ecefac36
commit f65ddd258b

View file

@ -50,7 +50,6 @@ pub(crate) fn parse(
// Before an item we can have: comma, comments, whitespace // Before an item we can have: comma, comments, whitespace
loop { loop {
let child = children.peek_next().unwrap(); let child = children.peek_next().unwrap();
// eprintln!("before item {:?}", child.kind());
match child.kind() { match child.kind() {
rnix::SyntaxKind::NODE_PAT_ENTRY rnix::SyntaxKind::NODE_PAT_ENTRY
@ -76,7 +75,6 @@ pub(crate) fn parse(
// item // item
let child = children.peek_next().unwrap(); let child = children.peek_next().unwrap();
// eprintln!("item {:?}", child.kind());
match child.kind() { match child.kind() {
rnix::SyntaxKind::TOKEN_CURLY_B_CLOSE => { rnix::SyntaxKind::TOKEN_CURLY_B_CLOSE => {
pattern.comments_before_curly_b_close = pattern.comments_before_curly_b_close =
@ -94,7 +92,6 @@ pub(crate) fn parse(
// After an item we can have: comma, comments, whitespace // After an item we can have: comma, comments, whitespace
loop { loop {
let child = children.peek_next().unwrap(); let child = children.peek_next().unwrap();
// eprintln!("after item {:?}", child.kind());
match child.kind() { match child.kind() {
rnix::SyntaxKind::NODE_PAT_ENTRY rnix::SyntaxKind::NODE_PAT_ENTRY