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 f34369f commit d5595c4Copy full SHA for d5595c4
capnpc/src/codegen.rs
@@ -919,8 +919,8 @@ fn zero_fields_of_group(
919
}
920
type_::Struct(_) | type_::List(_) | type_::Text(()) | type_::Data(()) |
921
type_::AnyPointer(_) |
922
- type_::Interface(_) // Is this the right thing to do for interfaces?
923
- => {
+ type_::Interface(_)
+ => { // Is this the right thing to do for interfaces?
924
let line = Line(format!("self.builder.reborrow().get_pointer_field({}).clear();",
925
slot.get_offset()));
926
*clear = true;
0 commit comments