We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d4ffc7 commit 42a460eCopy full SHA for 42a460e
capnp/src/message.rs
@@ -46,9 +46,12 @@
46
//! `crate::test_data::simple_struct::Owned` type into [TypedReader]/[TypedBuilder]
47
//!
48
//! ```ignore
49
-//! include!(concat!(env!("OUT_DIR"), "/simple_struct_capnp.rs"));
+//! mod simple_struct_capnp {
50
+//! include!(concat!(env!("OUT_DIR"), "/simple_struct_capnp.rs"));
51
+//! }
52
53
//! use capnp::message::{self, TypedBuilder, TypedReader};
54
+//! use simple_struct_capnp::simple_struct;
55
56
//! fn main() {
57
//! let mut builder = TypedBuilder::<simple_struct::Owned>::new_default();
0 commit comments