Skip to content

Commit b3d2059

Browse files
committed
Address nit: block.unit()
1 parent c1a53a6 commit b3d2059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/build/scope.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ impl<'a,'tcx> Builder<'a,'tcx> {
282282
self.scope_auxiliary[scope.id.index()]
283283
.postdoms
284284
.push(self.cfg.current_location(block));
285-
block.and(())
285+
block.unit()
286286
}
287287

288288

0 commit comments

Comments
 (0)