Skip to content

Commit a01fa61

Browse files
committed
renamed replace_colon_string to prettify_index
1 parent e780a50 commit a01fa61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/varname.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ function Base.show(io::IO, vn::VarName)
9898
end
9999
end
100100

101-
replace_colon_string(x) = x
102-
replace_colon_string(::Colon) = ":"
101+
prettify_index(x) = string(x)
102+
prettify_index(::Colon) = ":"
103103

104104
"""
105105
Symbol(vn::VarName)

0 commit comments

Comments
 (0)