about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-10-25 14:31:22 +0200
committerGitHub <noreply@github.com>2018-10-25 14:31:22 +0200
commit83906ec6adcb839f79099a33d739b44f5b694b6a (patch)
tree745356d2f596029a7393146f2708914199a8648c
parent401ee42893073af79f72482831ad1b43cea4dd0a (diff)
parent431b254ffbcadaf08ec01d2041db0681ba0e0bb1 (diff)
downloadrust-83906ec6adcb839f79099a33d739b44f5b694b6a.tar.gz
rust-83906ec6adcb839f79099a33d739b44f5b694b6a.zip
Rollup merge of #55340 - RalfJung:operand-docs, r=oli-obk
Operands no longer appear in places

Fix an outdated comment.
-rw-r--r--src/librustc/mir/mod.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc/mir/mod.rs b/src/librustc/mir/mod.rs
index f1c5030c641..6c5c59306bc 100644
--- a/src/librustc/mir/mod.rs
+++ b/src/librustc/mir/mod.rs
@@ -2065,9 +2065,8 @@ pub struct SourceScopeLocalData {
 ///////////////////////////////////////////////////////////////////////////
 // Operands
 
-/// These are values that can appear inside an rvalue (or an index
-/// place). They are intentionally limited to prevent rvalues from
-/// being nested in one another.
+/// These are values that can appear inside an rvalue. They are intentionally
+/// limited to prevent rvalues from being nested in one another.
 #[derive(Clone, PartialEq, RustcEncodable, RustcDecodable)]
 pub enum Operand<'tcx> {
     /// Copy: The value must be available for use afterwards.