about summary refs log tree commit diff
path: root/compiler/rustc_metadata/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2020-11-26 19:11:43 +0100
committerCamille GILLOT <gillot.camille@gmail.com>2020-11-26 21:32:29 +0100
commit60c3bbd8447593b06fcab55ed9bd2f0f0af678fc (patch)
tree7b9ab4f5f67213e62c182dcb824210a33cabd318 /compiler/rustc_metadata/src
parent51d10249e7b91e501a07df87ef56a6a35ee9c4cd (diff)
downloadrust-60c3bbd8447593b06fcab55ed9bd2f0f0af678fc.tar.gz
rust-60c3bbd8447593b06fcab55ed9bd2f0f0af678fc.zip
Formatting.
Diffstat (limited to 'compiler/rustc_metadata/src')
-rw-r--r--compiler/rustc_metadata/src/rmeta/encoder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_metadata/src/rmeta/encoder.rs b/compiler/rustc_metadata/src/rmeta/encoder.rs
index 070481a3e55..52ffd9a7975 100644
--- a/compiler/rustc_metadata/src/rmeta/encoder.rs
+++ b/compiler/rustc_metadata/src/rmeta/encoder.rs
@@ -1225,7 +1225,7 @@ impl EncodeContext<'a, 'tcx> {
             hir::ItemKind::Mod(ref m) => {
                 return self.encode_info_for_mod(item.hir_id, m, &item.attrs);
             }
-            hir::ItemKind::ForeignMod{..} => EntryKind::ForeignMod,
+            hir::ItemKind::ForeignMod { .. } => EntryKind::ForeignMod,
             hir::ItemKind::GlobalAsm(..) => EntryKind::GlobalAsm,
             hir::ItemKind::TyAlias(..) => EntryKind::Type,
             hir::ItemKind::OpaqueTy(..) => {