Skip to content

Commit dc5442e

Browse files
authored
typo fix
1 parent 0f31d8e commit dc5442e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/coding-guidelines/ffi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ FFI
2323
:id: rat_LnIHMWRaC19F
2424
:status: draft
2525

26-
If the languages on the FFI boundary to not agree on the type or its layout, size and alignment properties, undefined behavior might be invoked. It is therefore critical to reduce the possibility of such misalignment to an absolute minimum. Developers and/or tools shall therefore follow a set of strict rules that govern how a foreign type definition shall be translated to Rust.
26+
If the languages on the FFI boundary do not agree on the type or its layout, size and alignment properties, undefined behavior might be invoked. It is therefore critical to reduce the possibility of such misalignment to an absolute minimum. Developers and/or tools shall therefore follow a set of strict rules that govern how a foreign type definition shall be translated to Rust.
2727

2828
Since the only ubiquitously supported foreign calling ABI is the calling ABI of the C programming language, this rule will state how C types are to be translated. For any other language or ABI, it is required to document the respective translation rules.
2929

0 commit comments

Comments
 (0)