Rollup merge of #104059 - Rejyr:rustc_middle-lint-typo, r=petrochenkov
Fix typo in `rustc_middle/lint.rs`
This commit is contained in:
commit
d6c41a23b9
1 changed files with 1 additions and 1 deletions
|
@ -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`]
|
||||
|
|
Loading…
Add table
Reference in a new issue