Skip to content

Commit

Permalink
Ran rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Kaak committed Jan 30, 2023
1 parent 8d7b092 commit af9671f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion compiler/rustc_hir_typeck/src/op.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,9 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
format!("cannot divide `{lhs_ty}` by `{rhs_ty}`")
}
hir::BinOpKind::Rem => {
format!("cannot calculate the remainder of `{lhs_ty}` divided by `{rhs_ty}`")
format!(
"cannot calculate the remainder of `{lhs_ty}` divided by `{rhs_ty}`"
)
}
hir::BinOpKind::BitAnd => {
format!("no implementation for `{lhs_ty} & {rhs_ty}`")
Expand Down

0 comments on commit af9671f

Please sign in to comment.