lib/dry/schema/macros/maybe.rb in dry-schema-1.4.2 vs lib/dry/schema/macros/maybe.rb in dry-schema-1.4.3
- old
+ new
@@ -28,11 +28,10 @@
def to_ast
[:implication,
[
[:not, [:predicate, [:nil?, [[:input, Undefined]]]]],
trace.to_rule.to_ast
- ]
- ]
+ ]]
end
end
end
end
end