]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_metadata/decoder.rs
Fix tidy
[rust.git] / src / librustc_metadata / decoder.rs
index 128e30be79929ea2511369b15d5e0e71344a7465..2add8bf918398f246fd10a5ba1e97df1cd54d1ec 100644 (file)
@@ -924,7 +924,8 @@ pub fn maybe_get_optimized_mir(&self, tcx: TyCtxt<'tcx>, id: DefIndex) -> Option
         }
     }
 
-    pub fn maybe_get_promoted_mir(&self, tcx: TyCtxt<'tcx>, id: DefIndex) -> Option<IndexVec<Promoted, Body<'tcx>>> {
+    pub fn maybe_get_promoted_mir(&self, tcx: TyCtxt<'tcx>, id: DefIndex) ->
+        Option<IndexVec<Promoted, Body<'tcx>>> {
         match self.is_proc_macro(id) {
             true => None,
             false => self.entry(id).promoted_mir.map(|promoted| promoted.decode((self, tcx)),)