summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-14 19:26:18 +0100
committerGitHub <noreply@github.com>2022-11-14 19:26:18 +0100
commit5763fa74f0bda2fe87003360f9059e67c1b8dcf5 (patch)
tree838ee4ad2498bb1ce9876eea4ed2d327fecf530c /compiler/rustc_const_eval/src/interpret
parent43bb507d128dc1ea0618ee678245c6bdab561dcf (diff)
parent442f848d74c4c3b89e9358a2dced1518f406cbb6 (diff)
downloadrust-5763fa74f0bda2fe87003360f9059e67c1b8dcf5.tar.gz
rust-5763fa74f0bda2fe87003360f9059e67c1b8dcf5.zip
Rollup merge of #104349 - rustaceanclub:master, r=oli-obk
fix some typos in comments
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret')
-rw-r--r--compiler/rustc_const_eval/src/interpret/operand.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/operand.rs b/compiler/rustc_const_eval/src/interpret/operand.rs
index 274917f09fe..f0a83b7a026 100644
--- a/compiler/rustc_const_eval/src/interpret/operand.rs
+++ b/compiler/rustc_const_eval/src/interpret/operand.rs
@@ -376,7 +376,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
 
     /// Read an immediate from a place, asserting that that is possible with the given layout.
     ///
-    /// If this suceeds, the `ImmTy` is never `Uninit`.
+    /// If this succeeds, the `ImmTy` is never `Uninit`.
     #[inline(always)]
     pub fn read_immediate(
         &self,