Skip to content

Commit 7be2374

Browse files
committed
clang-format
1 parent cd990ac commit 7be2374

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cpp2rust/converter/converter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1779,7 +1779,8 @@ void Converter::ConvertIntegralToBooleanCast(clang::ImplicitCastExpr *expr) {
17791779
}
17801780
}
17811781

1782-
bool Converter::IsCastRedundantInRust(clang::Expr *expr, clang::QualType target_type) {
1782+
bool Converter::IsCastRedundantInRust(clang::Expr *expr,
1783+
clang::QualType target_type) {
17831784
auto target = GetUnsafeTypeAsString(target_type);
17841785
if (const auto *rule = Mapper::GetExprRule(expr)) {
17851786
return rule->return_type.type == target;

0 commit comments

Comments
 (0)