diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-11-26 13:39:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-26 13:39:11 +0100 |
| commit | 005a3e5986637c862d710f14c88e97be61374964 (patch) | |
| tree | 382dd4ede59629a27391b9243a8d9f195073bcba | |
| parent | 0ae653a5318f4eaa9a3f319d1a622b6f2b354029 (diff) | |
| parent | 29e8e7267576e9386a583d2464bb01162f378526 (diff) | |
| download | rust-005a3e5986637c862d710f14c88e97be61374964.tar.gz rust-005a3e5986637c862d710f14c88e97be61374964.zip | |
Rollup merge of #79402 - bugadani:typos, r=matthewjasper
Fix typos
| -rw-r--r-- | compiler/rustc_middle/src/ty/query/plumbing.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/ty/query/plumbing.rs b/compiler/rustc_middle/src/ty/query/plumbing.rs index 9e97ed2fb29..d0730bd121c 100644 --- a/compiler/rustc_middle/src/ty/query/plumbing.rs +++ b/compiler/rustc_middle/src/ty/query/plumbing.rs @@ -128,7 +128,7 @@ impl<'tcx> TyCtxt<'tcx> { pub fn try_print_query_stack(handler: &Handler, num_frames: Option<usize>) { eprintln!("query stack during panic:"); - // Be careful reyling on global state here: this code is called from + // Be careful relying on global state here: this code is called from // a panic hook, which means that the global `Handler` may be in a weird // state if it was responsible for triggering the panic. let mut i = 0; @@ -507,7 +507,7 @@ macro_rules! define_queries_struct { (tcx: $tcx:tt, input: ($(([$($modifiers:tt)*] [$($attr:tt)*] [$name:ident]))*)) => { pub struct Queries<$tcx> { - /// This provides access to the incremental comilation on-disk cache for query results. + /// This provides access to the incremental compilation on-disk cache for query results. /// Do not access this directly. It is only meant to be used by /// `DepGraph::try_mark_green()` and the query infrastructure. /// This is `None` if we are not incremental compilation mode |
