Skip to content

Commit 29e8e72

Browse files
committed
Fix typos
1 parent db79d2f commit 29e8e72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_middle/src/ty/query/plumbing.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ impl<'tcx> TyCtxt<'tcx> {
128128
pub fn try_print_query_stack(handler: &Handler, num_frames: Option<usize>) {
129129
eprintln!("query stack during panic:");
130130

131-
// Be careful reyling on global state here: this code is called from
131+
// Be careful relying on global state here: this code is called from
132132
// a panic hook, which means that the global `Handler` may be in a weird
133133
// state if it was responsible for triggering the panic.
134134
let mut i = 0;
@@ -507,7 +507,7 @@ macro_rules! define_queries_struct {
507507
(tcx: $tcx:tt,
508508
input: ($(([$($modifiers:tt)*] [$($attr:tt)*] [$name:ident]))*)) => {
509509
pub struct Queries<$tcx> {
510-
/// This provides access to the incremental comilation on-disk cache for query results.
510+
/// This provides access to the incremental compilation on-disk cache for query results.
511511
/// Do not access this directly. It is only meant to be used by
512512
/// `DepGraph::try_mark_green()` and the query infrastructure.
513513
/// This is `None` if we are not incremental compilation mode

0 commit comments

Comments
 (0)