Skip to content

Commit 4fffa74

Browse files
committed
docs: Edit rustc_middle::ty::query::on_disk_cache
Expand abbreviations for "incremental compliation". Also added the word "to" to the description of CacheEncoder.
1 parent 1f5bc17 commit 4fffa74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ impl<'sess> OnDiskCache<'sess> {
648648

649649
//- DECODING -------------------------------------------------------------------
650650

651-
/// A decoder that can read from the incr. comp. cache. It is similar to the one
651+
/// A decoder that can read from the incremental compilation cache. It is similar to the one
652652
/// we use for crate metadata decoding in that it can rebase spans and eventually
653653
/// will also handle things that contain `Ty` instances.
654654
crate struct CacheDecoder<'a, 'tcx> {
@@ -936,7 +936,7 @@ impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>> for &'tcx [Span] {
936936

937937
//- ENCODING -------------------------------------------------------------------
938938

939-
/// An encoder that can write the incr. comp. cache.
939+
/// An encoder that can write to the incremental compilation cache.
940940
struct CacheEncoder<'a, 'tcx, E: OpaqueEncoder> {
941941
tcx: TyCtxt<'tcx>,
942942
encoder: &'a mut E,

0 commit comments

Comments
 (0)