Skip to content

Commit

Permalink
Rollup merge of #104059 - Rejyr:rustc_middle-lint-typo, r=petrochenkov
Browse files Browse the repository at this point in the history
Fix typo in `rustc_middle/lint.rs`
  • Loading branch information
Yuki Okushi authored Nov 7, 2022
2 parents 57daec5 + e15c406 commit d6c41a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ pub fn explain_lint_level_source(

/// The innermost function for emitting lints.
///
/// If you are loocking to implement a lint, look for higher level functions,
/// If you are looking to implement a lint, look for higher level functions,
/// for example:
/// - [`TyCtxt::emit_spanned_lint`]
/// - [`TyCtxt::struct_span_lint_hir`]
Expand Down

0 comments on commit d6c41a2

Please sign in to comment.