mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Typo
This commit is contained in:
parent
706c48b62a
commit
7ff87163e0
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ struct DocHeaders {
|
||||||
|
|
||||||
fn check_attrs(cx: &LateContext<'_>, valid_idents: &FxHashSet<String>, attrs: &[Attribute]) -> Option<DocHeaders> {
|
fn check_attrs(cx: &LateContext<'_>, valid_idents: &FxHashSet<String>, attrs: &[Attribute]) -> Option<DocHeaders> {
|
||||||
/// We don't want the parser to choke on intra doc links. Since we don't
|
/// We don't want the parser to choke on intra doc links. Since we don't
|
||||||
/// actually care about rendering them, just pretend that all broken links are
|
/// actually care about rendering them, just pretend that all broken links
|
||||||
/// point to a fake address.
|
/// point to a fake address.
|
||||||
#[expect(clippy::unnecessary_wraps)] // we're following a type signature
|
#[expect(clippy::unnecessary_wraps)] // we're following a type signature
|
||||||
fn fake_broken_link_callback<'a>(_: BrokenLink<'_>) -> Option<(CowStr<'a>, CowStr<'a>)> {
|
fn fake_broken_link_callback<'a>(_: BrokenLink<'_>) -> Option<(CowStr<'a>, CowStr<'a>)> {
|
||||||
|
|
Loading…
Reference in a new issue