Remove some unused variables

This commit is contained in:
Tom Parker-Shemilt 2021-12-09 22:29:53 +00:00
parent 2a2c84e04a
commit 3edcc6c4a5

View file

@ -420,7 +420,6 @@ async fn main() -> Result<(), Error> {
#[derive(Debug)]
struct ListInfo {
location: usize,
data: Vec<String>,
}
@ -436,7 +435,7 @@ async fn main() -> Result<(), Error> {
let mut last_level: u32 = 0;
let mut star_override_level: Option<u32> = None;
for (event, range) in parser.into_offset_iter() {
for (event, _range) in parser.into_offset_iter() {
match event {
Event::Start(tag) => {
match tag {
@ -506,7 +505,6 @@ async fn main() -> Result<(), Error> {
in_list_item = false;
}
list_items.push(ListInfo {
location: range.start,
data: Vec::new(),
});
}