diff --git a/typesystem/schema/schema.h b/typesystem/schema/schema.h index 981c5d3e..3ddd0ba7 100644 --- a/typesystem/schema/schema.h +++ b/typesystem/schema/schema.h @@ -987,7 +987,7 @@ struct LanguageSyntaxImpl final { AppendAsMultilineCommentIndentedTwoSpaces(os, Value(f.description)); } const auto& t = types_.at(f.type_id); - if (Exists(t) || Exists(t)) { + if (Exists(t)) { os << " pub " << SanitizeRustSymbol(f.name) << ": Box<" << TypeName(f.type_id) << ">,\n"; } else { os << " pub " << SanitizeRustSymbol(f.name) << ": " << TypeName(f.type_id) << ",\n";