Skip to content

Commit d6c41a2

Browse files
author
Yuki Okushi
authored
Rollup merge of rust-lang#104059 - Rejyr:rustc_middle-lint-typo, r=petrochenkov
Fix typo in `rustc_middle/lint.rs`
2 parents 57daec5 + e15c406 commit d6c41a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_middle/src/lint.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ pub fn explain_lint_level_source(
276276

277277
/// The innermost function for emitting lints.
278278
///
279-
/// If you are loocking to implement a lint, look for higher level functions,
279+
/// If you are looking to implement a lint, look for higher level functions,
280280
/// for example:
281281
/// - [`TyCtxt::emit_spanned_lint`]
282282
/// - [`TyCtxt::struct_span_lint_hir`]

0 commit comments

Comments
 (0)