Skip to content

Commit

Permalink
fix module docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger-luo committed Jul 29, 2020
1 parent 21d9c94 commit 02aea46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Return the lowercase of `nameof(x)` in `String`.
default_name(x) = lowercase(string(nameof(x)))

function docstring(x)
return sprint(@doc(x); context = :color => true) do io, x
return sprint(Base.Docs.doc(x); context = :color => true) do io, x
show(io, MIME"text/plain"(), x)
end
end
Expand Down

0 comments on commit 02aea46

Please sign in to comment.