Skip to content

Commit 9796184

Browse files
committed
Change unsafe impl Sync comment
1 parent 656b903 commit 9796184

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cpp2rust/converter/converter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3472,8 +3472,8 @@ void Converter::AddSyncTrait(const clang::RecordDecl *decl) {
34723472
return;
34733473
}
34743474

3475-
StrCat("\n// SAFETY: preserves unsafe C semantics; thread-safety is the "
3476-
"programmer's responsibility\n");
3475+
StrCat("\n// SAFETY: preserves unsafe C semantics; thread-safety is not "
3476+
"enforced\n");
34773477
StrCat("unsafe impl Sync for", GetRecordName(decl));
34783478
PushBrace brace(*this);
34793479
}

0 commit comments

Comments
 (0)