Skip to content

Commit 86e6165

Browse files
Rollup merge of rust-lang#153319 - DanielEScherzer:ie-dots, r=jhpratt
Comments and docs: add missing periods to "ie." "i.e." is short for the Latin "id est" and thus both letters should be followed by periods.
2 parents a2b29fb + 611ff09 commit 86e6165

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clippy_lints/src/trait_bounds.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ impl<'tcx> LateLintPass<'tcx> for TraitBounds {
110110

111111
fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx>) {
112112
// special handling for self trait bounds as these are not considered generics
113-
// ie. trait Foo: Display {}
113+
// i.e. trait Foo: Display {}
114114
if let Item {
115115
kind: ItemKind::Trait(_, _, _, _, _, bounds, ..),
116116
..

0 commit comments

Comments
 (0)