Skip to content

Commit 8a35d3a

Browse files
Rollup merge of #80204 - pierwill:pierwill-rustcmiddle-ondisk, r=varkor
docs: Edit rustc_middle::ty::query::on_disk_cache Expand abbreviations for "incremental compliation". Also added the word "to" to the description of CacheEncoder.
2 parents f84ec97 + 4fffa74 commit 8a35d3a

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
@@ -666,7 +666,7 @@ impl<'sess> OnDiskCache<'sess> {
666666

667667
//- DECODING -------------------------------------------------------------------
668668

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

955955
//- ENCODING -------------------------------------------------------------------
956956

957-
/// An encoder that can write the incr. comp. cache.
957+
/// An encoder that can write to the incremental compilation cache.
958958
struct CacheEncoder<'a, 'tcx, E: OpaqueEncoder> {
959959
tcx: TyCtxt<'tcx>,
960960
encoder: &'a mut E,

0 commit comments

Comments
 (0)