mirror of
https://github.com/rust-unofficial/awesome-rust
synced 2024-11-15 00:27:39 +00:00
Remove some unused variables
This commit is contained in:
parent
2a2c84e04a
commit
3edcc6c4a5
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue