@@ -282,26 +282,26 @@ julia> struct Bar; x; end
282282
283283julia> @functor Bar
284284
285- julia> struct NoChildren ; x; y; end
285+ julia> struct TypeWithNoChildren ; x; y; end
286286
287- julia> m = Foo(Bar([1,2,3]), NoChildren (:a, :b))
288- Foo(Bar([1, 2, 3]), NoChildren (:a, :b))
287+ julia> m = Foo(Bar([1,2,3]), TypeWithNoChildren (:a, :b))
288+ Foo(Bar([1, 2, 3]), TypeWithNoChildren (:a, :b))
289289
290290julia> fcollect(m)
2912914-element Vector{Any}:
292- Foo(Bar([1, 2, 3]), NoChildren (:a, :b))
292+ Foo(Bar([1, 2, 3]), TypeWithNoChildren (:a, :b))
293293 Bar([1, 2, 3])
294294 [1, 2, 3]
295- NoChildren (:a, :b)
295+ TypeWithNoChildren (:a, :b)
296296
297297julia> fcollect(m, exclude = v -> v isa Bar)
2982982-element Vector{Any}:
299- Foo(Bar([1, 2, 3]), NoChildren (:a, :b))
300- NoChildren (:a, :b)
299+ Foo(Bar([1, 2, 3]), TypeWithNoChildren (:a, :b))
300+ TypeWithNoChildren (:a, :b)
301301
302302julia> fcollect(m, exclude = v -> Functors.isleaf(v))
3033032-element Vector{Any}:
304- Foo(Bar([1, 2, 3]), NoChildren (:a, :b))
304+ Foo(Bar([1, 2, 3]), TypeWithNoChildren (:a, :b))
305305 Bar([1, 2, 3])
306306```
307307"""
0 commit comments