mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-09 05:23:07 +00:00
Make the comments for ReturnDest
variants doc comments
This commit is contained in:
parent
3fba278231
commit
c021367de1
@ -1861,12 +1861,12 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
|
||||
}
|
||||
|
||||
enum ReturnDest<'tcx, V> {
|
||||
// Do nothing; the return value is indirect or ignored.
|
||||
/// Do nothing; the return value is indirect or ignored.
|
||||
Nothing,
|
||||
// Store the return value to the pointer.
|
||||
/// Store the return value to the pointer.
|
||||
Store(PlaceRef<'tcx, V>),
|
||||
// Store an indirect return value to an operand local place.
|
||||
/// Store an indirect return value to an operand local place.
|
||||
IndirectOperand(PlaceRef<'tcx, V>, mir::Local),
|
||||
// Store a direct return value to an operand local place.
|
||||
/// Store a direct return value to an operand local place.
|
||||
DirectOperand(mir::Local),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user