]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_mir/src/util/find_self_call.rs
New upstream version 1.53.0+dfsg1
[rustc.git] / compiler / rustc_mir / src / util / find_self_call.rs
index ddda98d16162312d55c0f83f13bb65bc24bcf916..33ad128eeeb7503847c1c63974e5ab491de1830e 100644 (file)
@@ -3,7 +3,7 @@ use rustc_middle::ty::subst::SubstsRef;
 use rustc_middle::ty::{self, TyCtxt};
 use rustc_span::def_id::DefId;
 
-/// Checks if the specified `local` is used as the `self` prameter of a method call
+/// Checks if the specified `local` is used as the `self` parameter of a method call
 /// in the provided `BasicBlock`. If it is, then the `DefId` of the called method is
 /// returned.
 pub fn find_self_call<'tcx>(