mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +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
8
Cargo.lock
generated
8
Cargo.lock
generated
|
@ -1245,9 +1245,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pulldown-cmark"
|
name = "pulldown-cmark"
|
||||||
version = "0.8.0"
|
version = "0.9.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "ffade02495f22453cd593159ea2f59827aae7f53fa8323f756799b670881dcf8"
|
checksum = "34f197a544b0c9ab3ae46c359a7ec9cbbb5c7bf97054266fecb7ead794a181d6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags",
|
"bitflags",
|
||||||
"memchr",
|
"memchr",
|
||||||
|
@ -1256,9 +1256,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pulldown-cmark-to-cmark"
|
name = "pulldown-cmark-to-cmark"
|
||||||
version = "7.1.1"
|
version = "9.0.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "8bc14bc6b9f5881f240f9766414707ab24f972bcc3388589fe15b22fb15dc60d"
|
checksum = "3f94dc756ef5c50ad28ccea8428ba5de9f4dca1fff6516a26b85e0b125a70d17"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"pulldown-cmark",
|
"pulldown-cmark",
|
||||||
]
|
]
|
||||||
|
|
|
@ -16,8 +16,8 @@ itertools = "0.10.0"
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
rustc-hash = "1.1.0"
|
rustc-hash = "1.1.0"
|
||||||
oorandom = "11.1.2"
|
oorandom = "11.1.2"
|
||||||
pulldown-cmark-to-cmark = "7.1"
|
pulldown-cmark-to-cmark = "9.0"
|
||||||
pulldown-cmark = { version = "0.8.0", default-features = false }
|
pulldown-cmark = { version = "0.9", default-features = false }
|
||||||
url = "2.1.1"
|
url = "2.1.1"
|
||||||
dot = "0.1.4"
|
dot = "0.1.4"
|
||||||
|
|
||||||
|
|
|
@ -282,13 +282,8 @@ impl DocCommentToken {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn broken_link_clone_cb<'a, 'b>(link: BrokenLink<'a>) -> Option<(CowStr<'b>, CowStr<'b>)> {
|
fn broken_link_clone_cb<'a>(link: BrokenLink<'a>) -> Option<(CowStr<'a>, CowStr<'a>)> {
|
||||||
// These allocations are actually unnecessary but the lifetimes on BrokenLinkCallback are wrong
|
Some((/*url*/ link.reference.clone(), /*title*/ link.reference))
|
||||||
// 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(),
|
|
||||||
))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME:
|
// FIXME:
|
||||||
|
|
Loading…
Reference in a new issue