@@ -1696,7 +1696,7 @@ fn generate_node(
1696
1696
Line ( "fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {" . to_string( ) ) ,
1697
1697
Indent ( Box :: new( Line ( "builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()" . to_string( ) ) ) ) ,
1698
1698
Line ( "}" . to_string( ) ) ,
1699
- Line ( "fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [capnp::Word]>) -> ::capnp::Result<Self> {" . to_string( ) ) ,
1699
+ Line ( "fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [:: capnp::Word]>) -> ::capnp::Result<Self> {" . to_string( ) ) ,
1700
1700
Indent ( Box :: new( Line ( "::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())" . to_string( ) ) ) ) ,
1701
1701
Line ( "}" . to_string( ) ) ] ) ) ) ,
1702
1702
Line ( "}" . to_string( ) ) ,
@@ -1759,7 +1759,7 @@ fn generate_node(
1759
1759
params. params, params. where_clause) ) ,
1760
1760
Indent (
1761
1761
Box :: new( Branch ( vec![
1762
- Line ( "fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [capnp::Word]>) -> ::capnp::Result<Self> {" . to_string( ) ) ,
1762
+ Line ( "fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [:: capnp::Word]>) -> ::capnp::Result<Self> {" . to_string( ) ) ,
1763
1763
Indent ( Box :: new( Line ( "::core::result::Result::Ok(reader.get_struct(default)?.into())" . to_string( ) ) ) ) ,
1764
1764
Line ( "}" . to_string( ) ) ] ) ) ) ,
1765
1765
Line ( "}" . to_string( ) ) ,
@@ -2181,7 +2181,7 @@ fn generate_node(
2181
2181
params. params, params. where_clause) ) ,
2182
2182
Indent (
2183
2183
Box :: new( Branch ( vec![
2184
- Line ( "fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, _default: ::core::option::Option<&'a [capnp::Word]>) -> ::capnp::Result<Self> {" . to_string( ) ) ,
2184
+ Line ( "fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, _default: ::core::option::Option<&'a [:: capnp::Word]>) -> ::capnp::Result<Self> {" . to_string( ) ) ,
2185
2185
Indent ( Box :: new( Line ( "::core::result::Result::Ok(::capnp::capability::FromClientHook::new(reader.get_capability()?))" . to_string( ) ) ) ) ,
2186
2186
Line ( "}" . to_string( ) ) ] ) ) ) ,
2187
2187
Line ( "}" . to_string( ) ) ] ) ) ;
@@ -2195,7 +2195,7 @@ fn generate_node(
2195
2195
Line ( "fn init_pointer(_builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {" . to_string( ) ) ,
2196
2196
Indent ( Box :: new( Line ( "unimplemented!()" . to_string( ) ) ) ) ,
2197
2197
Line ( "}" . to_string( ) ) ,
2198
- Line ( "fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _default: ::core::option::Option<&'a [capnp::Word]>) -> ::capnp::Result<Self> {" . to_string( ) ) ,
2198
+ Line ( "fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _default: ::core::option::Option<&'a [:: capnp::Word]>) -> ::capnp::Result<Self> {" . to_string( ) ) ,
2199
2199
Indent ( Box :: new( Line ( "::core::result::Result::Ok(::capnp::capability::FromClientHook::new(builder.get_capability()?))" . to_string( ) ) ) ) ,
2200
2200
Line ( "}" . to_string( ) ) ] ) ) ) ,
2201
2201
Line ( "}" . to_string( ) ) ,
0 commit comments