Skip to content

Commit 83906ec

Browse files
authored
Rollup merge of #55340 - RalfJung:operand-docs, r=oli-obk
Operands no longer appear in places Fix an outdated comment.
2 parents 401ee42 + 431b254 commit 83906ec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/librustc/mir/mod.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -2065,9 +2065,8 @@ pub struct SourceScopeLocalData {
20652065
///////////////////////////////////////////////////////////////////////////
20662066
// Operands
20672067

2068-
/// These are values that can appear inside an rvalue (or an index
2069-
/// place). They are intentionally limited to prevent rvalues from
2070-
/// being nested in one another.
2068+
/// These are values that can appear inside an rvalue. They are intentionally
2069+
/// limited to prevent rvalues from being nested in one another.
20712070
#[derive(Clone, PartialEq, RustcEncodable, RustcDecodable)]
20722071
pub enum Operand<'tcx> {
20732072
/// Copy: The value must be available for use afterwards.

0 commit comments

Comments
 (0)