about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRejyr <jerrylwang123@gmail.com>2022-11-06 11:22:29 -0500
committerRejyr <jerrylwang123@gmail.com>2022-11-06 11:22:29 -0500
commite15c406deb29933e5aa6b3d1497978776ca275ea (patch)
treee99b2737545d09e4e2be665f8006fd5987963af4
parent534ddc6166a9031b0c269544929d68f2539ea7a0 (diff)
downloadrust-e15c406deb29933e5aa6b3d1497978776ca275ea.tar.gz
rust-e15c406deb29933e5aa6b3d1497978776ca275ea.zip
fix: typo
-rw-r--r--compiler/rustc_middle/src/lint.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/lint.rs b/compiler/rustc_middle/src/lint.rs
index 79522bd0b2b..51df42f6d14 100644
--- a/compiler/rustc_middle/src/lint.rs
+++ b/compiler/rustc_middle/src/lint.rs
@@ -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`]