We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9f7621 + 1f90726 commit 4d6d564Copy full SHA for 4d6d564
reference/src/layout/function-pointers.md
@@ -86,6 +86,8 @@ bool for_all(struct Cons const *self, bool (*func)(int, void *), void *thunk);
86
# os::raw::c_int,
87
# };
88
#
89
+
90
+#[repr(C)]
91
pub struct Cons {
92
data: c_int,
93
next: Option<Box<Cons>>,
0 commit comments