mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Bump pulldown-cmark and pulldown-cmark-to-cmark
This commit is contained in:
parent
09fb755432
commit
e3e6133ff4
3 changed files with 8 additions and 13 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue