Skip to content

Commit 87710f2

Browse files
committed
Change unsafe impl Sync comment
1 parent f388c01 commit 87710f2

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
@@ -3485,8 +3485,8 @@ void Converter::AddSyncTrait(const clang::RecordDecl *decl) {
34853485
return;
34863486
}
34873487

3488-
StrCat("\n// SAFETY: preserves unsafe C semantics; thread-safety is the "
3489-
"programmer's responsibility\n");
3488+
StrCat("\n// SAFETY: preserves unsafe C semantics; thread-safety is not "
3489+
"enforced\n");
34903490
StrCat("unsafe impl Sync for", GetRecordName(decl));
34913491
PushBrace brace(*this);
34923492
}

0 commit comments

Comments
 (0)