mirror of
https://github.com/rust-unofficial/awesome-rust.git
synced 2024-12-12 19:18:26 +02:00
Remove some unused variables
This commit is contained in:
parent
2a2c84e04a
commit
3edcc6c4a5
@ -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(),
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user