NFC don't convert types to identical types

This commit is contained in:
Matthias Krüger 2023-12-15 23:56:24 +01:00
parent a96d57bdb6
commit 8479945c08
24 changed files with 35 additions and 50 deletions

View file

@ -407,8 +407,7 @@ fn parse_links<'md>(doc: &'md str) -> Vec<Box<str>> {
doc,
main_body_opts(),
Some(&mut broken_link_callback),
)
.into_iter();
);
let mut links = Vec::new();
while let Some(event) = event_iter.next() {