Skip to content

Commit c021367

Browse files
committed
Make the comments for ReturnDest variants doc comments
1 parent 3fba278 commit c021367

File tree

1 file changed

+4
-4
lines changed
  • compiler/rustc_codegen_ssa/src/mir

1 file changed

+4
-4
lines changed

compiler/rustc_codegen_ssa/src/mir/block.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1861,12 +1861,12 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
18611861
}
18621862

18631863
enum ReturnDest<'tcx, V> {
1864-
// Do nothing; the return value is indirect or ignored.
1864+
/// Do nothing; the return value is indirect or ignored.
18651865
Nothing,
1866-
// Store the return value to the pointer.
1866+
/// Store the return value to the pointer.
18671867
Store(PlaceRef<'tcx, V>),
1868-
// Store an indirect return value to an operand local place.
1868+
/// Store an indirect return value to an operand local place.
18691869
IndirectOperand(PlaceRef<'tcx, V>, mir::Local),
1870-
// Store a direct return value to an operand local place.
1870+
/// Store a direct return value to an operand local place.
18711871
DirectOperand(mir::Local),
18721872
}

0 commit comments

Comments
 (0)