about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_lint/src/utils.rs')
-rw-r--r--compiler/rustc_lint/src/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/utils.rs b/compiler/rustc_lint/src/utils.rs
index 64bfa428ae4..a7295d9c532 100644
--- a/compiler/rustc_lint/src/utils.rs
+++ b/compiler/rustc_lint/src/utils.rs
@@ -6,7 +6,7 @@ use crate::LateContext;
 /// Given an expression, peel all of casts (`<expr> as ...`, `<expr>.cast{,_mut,_const}()`,
 /// `ptr::from_ref(<expr>)`, ...) and init expressions.
 ///
-/// Returns the outermost expression and a boolean representing if one of the casts was
+/// Returns the innermost expression and a boolean representing if one of the casts was
 /// `UnsafeCell::raw_get(<expr>)`
 pub(crate) fn peel_casts<'tcx>(
     cx: &LateContext<'tcx>,