Skip to content

Commit 2575196

Browse files
committed
fix: simple typo in compiler directory
1 parent fdf61d4 commit 2575196

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_mir_build/src/build/scope.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
748748
self.cfg.terminate(block, source_info, TerminatorKind::UnwindResume);
749749
}
750750

751-
/// Sets up the drops for explict tail calls.
751+
/// Sets up the drops for explicit tail calls.
752752
///
753753
/// Unlike other kinds of early exits, tail calls do not go through the drop tree.
754754
/// Instead, all scheduled drops are immediately added to the CFG.

compiler/rustc_query_system/src/dep_graph/serialized.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ impl<D: Deps> EncoderState<D> {
547547
/// Encodes a node that was promoted from the previous graph. It reads the information directly from
548548
/// the previous dep graph for performance reasons.
549549
///
550-
/// This differs from `encode_node` where you have to explictly provide the relevant `NodeInfo`.
550+
/// This differs from `encode_node` where you have to explicitly provide the relevant `NodeInfo`.
551551
///
552552
/// It expects all edges to already have a new dep node index assigned.
553553
#[inline]

0 commit comments

Comments
 (0)