Skip to content

Commit a3b4021

Browse files
author
Ype Kingma
committed
Dogfood: add backticks
1 parent b3497a2 commit a3b4021

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clippy_lints/src/lifetimes_bound_nested_ref.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ impl BoundLftSymbolPair {
216216
}
217217
}
218218

219-
/// From a [Generics] provide an [FxHashMap] of the declared lifetime symbols to their spans.
219+
/// From a [`Generics`] provide an [`FxHashMap`] of the declared lifetime symbols to their spans.
220220
fn get_declared_lifetimes_spans(generics: &Generics) -> FxHashMap<Symbol, Span> {
221221
generics
222222
.params
@@ -231,7 +231,7 @@ fn get_declared_lifetimes_spans(generics: &Generics) -> FxHashMap<Symbol, Span>
231231
.collect()
232232
}
233233

234-
/// From a [Generics] provide a [BTreeMap] of the declared lifetime bounds to the spans of the
234+
/// From a [`Generics`] provide a [`BTreeMap`] of the declared lifetime bounds to the spans of the
235235
/// declarations.
236236
fn get_declared_bounds_spans(generics: &Generics) -> BTreeMap<BoundLftSymbolPair, Span> {
237237
let mut declared_bounds = BTreeMap::new();
@@ -399,7 +399,7 @@ impl ImpliedBoundsLinter {
399399
}
400400
}
401401

402-
/// Collect implied lifetime bounds span pairs from [GenericBound]s
402+
/// Collect implied lifetime bounds span pairs from [`GenericBound`]s
403403
/// that are possibly contained in an outlived lifetime
404404
fn collect_nested_ref_bounds_gbs(
405405
&mut self,

0 commit comments

Comments
 (0)