mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
docs: Edit rustc_middle::ty::query::on_disk_cache
Expand abbreviations for "incremental compliation". Also added the word "to" to the description of CacheEncoder.
This commit is contained in:
parent
1f5bc176b0
commit
4fffa742d7
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user