From 5cd6ad872c8f937fcf4ad448d64b83a803a39a86 Mon Sep 17 00:00:00 2001 From: nomicon-kr Date: Thu, 4 Jul 2024 14:48:16 +0900 Subject: [PATCH] Update other-reprs.md --- src/other-reprs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/other-reprs.md b/src/other-reprs.md index 129bbbc..ecb448e 100644 --- a/src/other-reprs.md +++ b/src/other-reprs.md @@ -40,7 +40,7 @@ 또, 그 유일한 필드가 FFI로 보내도 괜찮은 타입이라면, 그 유일한 필드가 있는 구조체/열거형을 FFI로 보내는 작업도 잘 작동하는 것이 보장됩니다. 예를 들어, 이것은 `struct Foo(f32)`나 `enum Foo { Bar(f32) }`가 `f32`와 항상 동일한 ABI를 가지게 하도록 하기 위해서 꼭 필요합니다. -이 표현 방법은 타입의 +이 표현 방식은 타입의 유일한 필드가 `pub`이거나, 그 레이아웃이 This repr is only considered part of the public ABI of a type if either the single field is `pub`, or if its layout is documented in prose. Otherwise, the layout should