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 919cb25 commit 0649972Copy full SHA for 0649972
src/accumulators.jl
@@ -129,7 +129,10 @@ AccumulatorTuple(nt::NamedTuple) = AccumulatorTuple(tuple(nt...))
129
130
# When showing with text/plain, leave out type information about the wrapper AccumulatorTuple.
131
function Base.show(io::IO, mime::MIME"text/plain", at::AccumulatorTuple)
132
- return "AccumulatorTuple(" * show(io, mime, at.nt) * ")"
+ print(io, "AccumulatorTuple(")
133
+ show(io, mime, at.nt)
134
+ print(io, ")")
135
+ return nothing
136
end
137
Base.getindex(at::AccumulatorTuple, idx) = at.nt[idx]
138
Base.length(::AccumulatorTuple{N}) where {N} = N
0 commit comments