Skip to content

Commit fca32a8

Browse files
committed
Simplify 'to_std_string'
1 parent 6f6996f commit fca32a8

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/std.jl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -691,13 +691,7 @@ function to_std_string(arg)
691691
throw_not_std(arg)
692692
end
693693
elseif length(free_indices) == 1
694-
if typeof(free_indices[1]) == Lower
695-
to_standard(arg)
696-
elseif typeof(free_indices[1]) == Upper
697-
to_standard(arg)
698-
else
699-
throw_not_std(arg)
700-
end
694+
to_standard(arg)
701695
else
702696
to_standard(arg)
703697
end

0 commit comments

Comments
 (0)