Skip to content

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
bkamins authored Sep 25, 2023
1 parent 534ea94 commit aa3d528
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/other/index.jl
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ function rename!(x::Index, nms::AbstractVector{Pair{Symbol, Symbol}})
return x
end

rename!(f::Function, x::Index) = rename!(x, [(n=>Symbol(f(string(n)))) for n in x.names])

# we do not define keys on purpose;
# use names to get keys as strings with copying
# or _names to get keys as Symbols without copying
Expand Down

0 comments on commit aa3d528

Please sign in to comment.