Bump pulldown-cmark and pulldown-cmark-to-cmark

This commit is contained in:
Laurențiu Nicola 2022-01-21 19:49:57 +02:00
parent 09fb755432
commit e3e6133ff4
3 changed files with 8 additions and 13 deletions

View file

@ -282,13 +282,8 @@ impl DocCommentToken {
}
}
fn broken_link_clone_cb<'a, 'b>(link: BrokenLink<'a>) -> Option<(CowStr<'b>, CowStr<'b>)> {
// These allocations are actually unnecessary but the lifetimes on BrokenLinkCallback are wrong
// this is fixed in the repo but not on the crates.io release yet
Some((
/*url*/ link.reference.to_owned().into(),
/*title*/ link.reference.to_owned().into(),
))
fn broken_link_clone_cb<'a>(link: BrokenLink<'a>) -> Option<(CowStr<'a>, CowStr<'a>)> {
Some((/*url*/ link.reference.clone(), /*title*/ link.reference))
}
// FIXME: