Diffstat (limited to 'src/build/builders/core/struct.rs')
-rw-r--r--src/build/builders/core/struct.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/build/builders/core/struct.rs b/src/build/builders/core/struct.rs
index 9ee98aa..890ffda 100644
--- a/src/build/builders/core/struct.rs
+++ b/src/build/builders/core/struct.rs
@@ -457,12 +457,13 @@ struct FieldVisitor<'a, 'ctx, I: StructTypeInfo<'ctx, M, E>, M, E: Effect> {
any_trait! {
impl['ctx, 'a, I, M, E] FieldVisitor<'a, 'ctx, I, M, E> = [
TagProto<tags::Key, E>,
- ] else ref {
+ ] ref {
let (_this, _id);
+ } else ref {
None
- } else mut {
+ } mut {
let (this, id);
-
+ } else mut {
this.marker.and_then(|marker| {
I::as_visitor(marker, this.builders).0.upcast_to_id_mut(id)
})