diff options
| author | Yuri Astrakhan <YuriAstrakhan@gmail.com> | 2022-03-30 01:42:10 -0400 |
|---|---|---|
| committer | Yuri Astrakhan <YuriAstrakhan@gmail.com> | 2022-03-30 01:42:10 -0400 |
| commit | a9cc3f6564e4563df568a09b42984313446dc2d3 (patch) | |
| tree | 81c87146a135a4b970ec40db4a08f24a4ecc6f0f /compiler/rustc_borrowck | |
| parent | 600ec284838c52d1f6657c2cf0097b58970b133b (diff) | |
| download | rust-a9cc3f6564e4563df568a09b42984313446dc2d3.tar.gz rust-a9cc3f6564e4563df568a09b42984313446dc2d3.zip | |
Spellchecking compiler code
Address some spelling mistakes in strings, private function names, and function params.
Diffstat (limited to 'compiler/rustc_borrowck')
| -rw-r--r-- | compiler/rustc_borrowck/src/dataflow.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_borrowck/src/dataflow.rs b/compiler/rustc_borrowck/src/dataflow.rs index f0036f09c38..684eba82667 100644 --- a/compiler/rustc_borrowck/src/dataflow.rs +++ b/compiler/rustc_borrowck/src/dataflow.rs @@ -407,10 +407,10 @@ impl<'tcx> rustc_mir_dataflow::GenKillAnalysis<'tcx> for Borrows<'_, 'tcx> { fn terminator_effect( &self, trans: &mut impl GenKill<Self::Idx>, - teminator: &mir::Terminator<'tcx>, + terminator: &mir::Terminator<'tcx>, _location: Location, ) { - if let mir::TerminatorKind::InlineAsm { operands, .. } = &teminator.kind { + if let mir::TerminatorKind::InlineAsm { operands, .. } = &terminator.kind { for op in operands { if let mir::InlineAsmOperand::Out { place: Some(place), .. } | mir::InlineAsmOperand::InOut { out_place: Some(place), .. } = *op |
