Skip to content

Commit 127afb3

Browse files
committed
Use char literal for single char string
1 parent ccf1f07 commit 127afb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp2rust/converter/converter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2611,7 +2611,7 @@ bool Converter::VisitVAArgExpr(clang::VAArgExpr *expr) {
26112611
if (expr->getType()->isFunctionPointerType()) {
26122612
StrCat("std::mem::transmute::<*mut ::libc::c_void", token::kComma);
26132613
Convert(expr->getType());
2614-
StrCat(">");
2614+
StrCat('>');
26152615
PushParen paren(*this);
26162616
{
26172617
PushExprKind push(*this, ExprKind::RValue);

0 commit comments

Comments
 (0)