about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-08-29 20:39:32 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-10-02 19:09:29 +0200
commite98f28907ec148a2aeff6bcdaa90151bdca05424 (patch)
treec3d35347e6c785c82843da0d2b652650f6f49356
parent998753c6f7a47cfa4072c73d5166d85d55d1187a (diff)
downloadrust-e98f28907ec148a2aeff6bcdaa90151bdca05424.tar.gz
rust-e98f28907ec148a2aeff6bcdaa90151bdca05424.zip
Turn a module non-doc comment into a doc comment
-rw-r--r--compiler/rustc_middle/src/ty/codec.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/compiler/rustc_middle/src/ty/codec.rs b/compiler/rustc_middle/src/ty/codec.rs
index 8b70692960d..434008ecb1f 100644
--- a/compiler/rustc_middle/src/ty/codec.rs
+++ b/compiler/rustc_middle/src/ty/codec.rs
@@ -1,10 +1,10 @@
-// This module contains some shared code for encoding and decoding various
-// things from the `ty` module, and in particular implements support for
-// "shorthands" which allow to have pointers back into the already encoded
-// stream instead of re-encoding the same thing twice.
-//
-// The functionality in here is shared between persisting to crate metadata and
-// persisting to incr. comp. caches.
+//! This module contains some shared code for encoding and decoding various
+//! things from the `ty` module, and in particular implements support for
+//! "shorthands" which allow to have pointers back into the already encoded
+//! stream instead of re-encoding the same thing twice.
+//!
+//! The functionality in here is shared between persisting to crate metadata and
+//! persisting to incr. comp. caches.
 
 use crate::arena::ArenaAllocatable;
 use crate::infer::canonical::{CanonicalVarInfo, CanonicalVarInfos};