Skip to content

Commit

Permalink
Rollup merge of rust-lang#104059 - Rejyr:rustc_middle-lint-typo, r=pe…
Browse files Browse the repository at this point in the history
…trochenkov

Fix typo in `rustc_middle/lint.rs`
  • Loading branch information
Yuki Okushi authored Nov 6, 2022
2 parents 874e795 + e15c406 commit 77d938c
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 77d938c

Please sign in to comment.