Skip to content

Commit 66a2fe9

Browse files
fix
1 parent 7b40d65 commit 66a2fe9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DocumentFunction"
22
uuid = "e1f3b4f0-2dc4-57d3-83f7-d4b7faf3b05b"
33
authors = ["Velimir V Vesselinov (monty) <[email protected]>"]
4-
version = "1.2.1"
4+
version = "1.2.2"
55

66
[compat]
77
julia = "1.5"

src/DocumentFunction.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function documentfunction(f::Function; location::Bool=true, maintext::AbstractSt
4141
else
4242
println(io, "Methods:")
4343
for i = 1:nm
44-
if contains(ms[1], " at ")
44+
if contains(ms[i], " at ")
4545
s = strip.(split(ms[i], " at "))
4646
ss = strip.(split(s[1], " in "))
4747
methodname = ss[1]
@@ -53,7 +53,7 @@ function documentfunction(f::Function; location::Bool=true, maintext::AbstractSt
5353
loc = ss[2]
5454
end
5555
if location
56-
println(io, " - `$modulename.$(methodname)` : $(loc)")
56+
println(io, " - `$modulename.$(methodname)` : `$(loc)`")
5757
else
5858
println(io, " - `$modulename.$(methodname)`")
5959
end

0 commit comments

Comments
 (0)