Rollup merge of #129308 - c8ef:typo, r=jieyouxu
fix: simple typo in compiler directory
This commit is contained in:
commit
ef9fba2232
@ -748,7 +748,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
|
|||||||
self.cfg.terminate(block, source_info, TerminatorKind::UnwindResume);
|
self.cfg.terminate(block, source_info, TerminatorKind::UnwindResume);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Sets up the drops for explict tail calls.
|
/// Sets up the drops for explicit tail calls.
|
||||||
///
|
///
|
||||||
/// Unlike other kinds of early exits, tail calls do not go through the drop tree.
|
/// Unlike other kinds of early exits, tail calls do not go through the drop tree.
|
||||||
/// Instead, all scheduled drops are immediately added to the CFG.
|
/// Instead, all scheduled drops are immediately added to the CFG.
|
||||||
|
@ -547,7 +547,7 @@ impl<D: Deps> EncoderState<D> {
|
|||||||
/// Encodes a node that was promoted from the previous graph. It reads the information directly from
|
/// Encodes a node that was promoted from the previous graph. It reads the information directly from
|
||||||
/// the previous dep graph for performance reasons.
|
/// the previous dep graph for performance reasons.
|
||||||
///
|
///
|
||||||
/// This differs from `encode_node` where you have to explictly provide the relevant `NodeInfo`.
|
/// This differs from `encode_node` where you have to explicitly provide the relevant `NodeInfo`.
|
||||||
///
|
///
|
||||||
/// It expects all edges to already have a new dep node index assigned.
|
/// It expects all edges to already have a new dep node index assigned.
|
||||||
#[inline]
|
#[inline]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user