Skip to content

Commit a02cb96

Browse files
committed
code style changes
1 parent b22d26b commit a02cb96

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/MultiDocumenter.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ function make(
281281
end
282282

283283
function flatten_multidocrefs(docs::Vector)
284-
out = []
284+
out = DropdownComponent[]
285285
for doc in docs
286286
if doc isa DropdownComponent
287287
push!(out, doc)
@@ -297,7 +297,7 @@ function flatten_multidocrefs(docs::Vector)
297297
end
298298
end
299299
end
300-
out
300+
return out
301301
end
302302

303303
function maybe_clone(docs::Vector)
@@ -336,6 +336,7 @@ function maybe_clone(docs::Vector)
336336
end
337337
end
338338
end
339+
return nothing
339340
end
340341

341342
function make_output_structure(

0 commit comments

Comments
 (0)