chore: Fix clippy violations from Cargo.toml (#15216)
/cc @maxdeviant Release Notes: - N/A
This commit is contained in:
parent
d755d29577
commit
86456ce379
25 changed files with 94 additions and 93 deletions
|
@ -500,8 +500,8 @@ impl<'a> MarkdownParser<'a> {
|
|||
|
||||
// We will use the start of the nested list as the end for the current item's range,
|
||||
// because we don't care about the hierarchy of list items
|
||||
if !source_ranges.contains_key(&depth) {
|
||||
source_ranges.insert(depth, start_item_range.start..source_range.start);
|
||||
if let collections::hash_map::Entry::Vacant(e) = source_ranges.entry(depth) {
|
||||
e.insert(start_item_range.start..source_range.start);
|
||||
}
|
||||
|
||||
order_stack.push(order);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue