Skip to content

Commit 436fb5c

Browse files
committed
Format code
1 parent ab424b7 commit 436fb5c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/hir-ty/src/mir/eval.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2136,9 +2136,7 @@ impl<'db> Evaluator<'db> {
21362136
return Ok(Some((0, 1)));
21372137
}
21382138
let layout = layout?;
2139-
Ok(layout
2140-
.is_sized()
2141-
.then(|| (layout.size.bytes_usize(), layout.align.bytes() as usize)))
2139+
Ok(layout.is_sized().then(|| (layout.size.bytes_usize(), layout.align.bytes() as usize)))
21422140
}
21432141

21442142
/// A version of `self.size_of` which returns error if the type is unsized. `what` argument should

0 commit comments

Comments
 (0)