diff options
| author | pierwill <pierwill@users.noreply.github.com> | 2020-12-19 14:25:24 -0800 |
|---|---|---|
| committer | pierwill <pierwill@users.noreply.github.com> | 2020-12-19 14:25:24 -0800 |
| commit | 4fffa742d70c81f7414d02f55808d22eeeb77bb2 (patch) | |
| tree | c55d4156009e90c454263562230636943d50ec9b | |
| parent | 1f5bc176b0e54a8e464704adcd7e571700207fe9 (diff) | |
| download | rust-4fffa742d70c81f7414d02f55808d22eeeb77bb2.tar.gz rust-4fffa742d70c81f7414d02f55808d22eeeb77bb2.zip | |
docs: Edit rustc_middle::ty::query::on_disk_cache
Expand abbreviations for "incremental compliation". Also added the word "to" to the description of CacheEncoder.
| -rw-r--r-- | compiler/rustc_middle/src/ty/query/on_disk_cache.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/ty/query/on_disk_cache.rs b/compiler/rustc_middle/src/ty/query/on_disk_cache.rs index e006dfeb663..98fc32f34c8 100644 --- a/compiler/rustc_middle/src/ty/query/on_disk_cache.rs +++ b/compiler/rustc_middle/src/ty/query/on_disk_cache.rs @@ -648,7 +648,7 @@ impl<'sess> OnDiskCache<'sess> { //- DECODING ------------------------------------------------------------------- -/// A decoder that can read from the incr. comp. cache. It is similar to the one +/// A decoder that can read from the incremental compilation cache. It is similar to the one /// we use for crate metadata decoding in that it can rebase spans and eventually /// will also handle things that contain `Ty` instances. crate struct CacheDecoder<'a, 'tcx> { @@ -936,7 +936,7 @@ impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>> for &'tcx [Span] { //- ENCODING ------------------------------------------------------------------- -/// An encoder that can write the incr. comp. cache. +/// An encoder that can write to the incremental compilation cache. struct CacheEncoder<'a, 'tcx, E: OpaqueEncoder> { tcx: TyCtxt<'tcx>, encoder: &'a mut E, |
