aboutsummaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-13 11:26:22 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-13 11:26:22 +0200
commitfb185e801e7d2002948d0b4e91ee06767e13ed00 (patch)
tree8e0ea5d1b92e794cfa7efbcab7b98d81e13b862f /src/util
parentad8eac98c1468b30c17c339e79b84c37a7b15517 (diff)
downloadmarkdown-rs-fb185e801e7d2002948d0b4e91ee06767e13ed00.tar.gz
markdown-rs-fb185e801e7d2002948d0b4e91ee06767e13ed00.tar.bz2
markdown-rs-fb185e801e7d2002948d0b4e91ee06767e13ed00.zip
Fix lists in lists and some other bugs
Diffstat (limited to '')
-rw-r--r--src/util/skip.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/util/skip.rs b/src/util/skip.rs
index d7b3896..10ba364 100644
--- a/src/util/skip.rs
+++ b/src/util/skip.rs
@@ -59,17 +59,11 @@ fn skip_opt_with_direction(
};
if events[index].token_type == *current && balance == 0 {
- println!(
- "close:it! {:?} {:?} {:?}",
- events[index].token_type, balance, index
- );
index = if forward { index + 1 } else { index - 1 };
- println!("index:break: {:?}", index);
break;
}
index = if forward { index + 1 } else { index - 1 };
- println!("index:loop: {:?}", index);
}
}