Skip to content

Commit 5c83422

Browse files
committed
Neaten a couple of long signatures
1 parent d23cbc3 commit 5c83422

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/librustc_trans/back/write.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,9 +1021,10 @@ pub fn start_async_translation(tcx: TyCtxt,
10211021
}
10221022
}
10231023

1024-
fn generate_module_artifacts(sess: &Session,
1025-
compiled_modules: &CompiledModules)
1026-
-> FxHashMap<WorkProductId, WorkProduct> {
1024+
fn generate_module_artifacts(
1025+
sess: &Session,
1026+
compiled_modules: &CompiledModules
1027+
) -> FxHashMap<WorkProductId, WorkProduct> {
10271028
let mut work_products = FxHashMap::default();
10281029

10291030
if sess.opts.incremental.is_none() {
@@ -2242,7 +2243,10 @@ pub struct OngoingCrateTranslation {
22422243
}
22432244

22442245
impl OngoingCrateTranslation {
2245-
pub(crate) fn join(self, sess: &Session) -> (CrateTranslation, FxHashMap<WorkProductId, WorkProduct>) {
2246+
pub(crate) fn join(
2247+
self,
2248+
sess: &Session
2249+
) -> (CrateTranslation, FxHashMap<WorkProductId, WorkProduct>) {
22462250
self.shared_emitter_main.check(sess, true);
22472251
let compiled_modules = match self.future.join() {
22482252
Ok(Ok(compiled_modules)) => compiled_modules,

0 commit comments

Comments
 (0)