File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1284,7 +1284,7 @@ fn generate_node(gen: &GeneratorContext,
1284
1284
( if !is_generic {
1285
1285
Branch ( vec!(
1286
1286
Line ( "#[derive(Copy, Clone)]" . into( ) ) ,
1287
- Line ( "pub struct Owned;" . to_string( ) ) ,
1287
+ Line ( "pub struct Owned(()) ;" . to_string( ) ) ,
1288
1288
Line ( "impl <'a> ::capnp::traits::Owned<'a> for Owned { type Reader = Reader<'a>; type Builder = Builder<'a>; }" . to_string( ) ) ,
1289
1289
Line ( "impl <'a> ::capnp::traits::OwnedStruct<'a> for Owned { type Reader = Reader<'a>; type Builder = Builder<'a>; }" . to_string( ) ) ,
1290
1290
Line ( "impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }" . to_string( ) )
@@ -1656,7 +1656,7 @@ fn generate_node(gen: &GeneratorContext,
1656
1656
mod_interior. push ( if !is_generic {
1657
1657
Branch ( vec ! (
1658
1658
Line ( "#[derive(Copy, Clone)]" . into( ) ) ,
1659
- Line ( "pub struct Owned;" . to_string( ) ) ,
1659
+ Line ( "pub struct Owned(()) ;" . to_string( ) ) ,
1660
1660
Line ( "impl <'a> ::capnp::traits::Owned<'a> for Owned { type Reader = Client; type Builder = Client; }" . to_string( ) ) ,
1661
1661
Line ( "impl ::capnp::traits::Pipelined for Owned { type Pipeline = Client; }" . to_string( ) ) ) )
1662
1662
} else {
You can’t perform that action at this time.
0 commit comments