Skip to content

Commit 21c6df6

Browse files
committed
Use char literal for single char string
1 parent 119ddea commit 21c6df6

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
@@ -2616,7 +2616,7 @@ bool Converter::VisitVAArgExpr(clang::VAArgExpr *expr) {
26162616
if (expr->getType()->isFunctionPointerType()) {
26172617
StrCat("std::mem::transmute::<*mut ::libc::c_void", token::kComma);
26182618
Convert(expr->getType());
2619-
StrCat(">");
2619+
StrCat('>');
26202620
PushParen paren(*this);
26212621
{
26222622
PushExprKind push(*this, ExprKind::RValue);

0 commit comments

Comments
 (0)