Skip to content

Commit

Permalink
Back out usage in REPL
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner committed Nov 17, 2023
1 parent c41b4b1 commit 0286b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/REPL/src/docview.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ log_nonpublic_access(expr, ::Module, _) = expr

function insert_internal_warning(md::Markdown.MD, internal_access::Set{Pair{Module,Symbol}})
if !isempty(internal_access)
items = Any[Any[Markdown.Paragraph(Any[Markdown.Code("", s)])] for s in sort("$mod.$sym" for (mod, sym) in internal_access)]
items = Any[Any[Markdown.Paragraph(Any[Markdown.Code("", s)])] for s in sort!(["$mod.$sym" for (mod, sym) in internal_access])]
admonition = Markdown.Admonition("warning", "Warning", Any[
Markdown.Paragraph(Any["The following bindings may be internal; they may change or be removed in future versions:"]),
Markdown.List(items, -1, false)])
Expand Down

0 comments on commit 0286b04

Please sign in to comment.