Skip to content

Commit 31ecd28

Browse files
authored
drop 1.6 lts compat code
1 parent 37f231b commit 31ecd28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/show.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function print_title(
8383
post_pad = blank^(max(0, p_width - length(pre_pad) - length(title)))
8484
print_nocol(io, post_pad, right_pad)
8585
(
86-
count(string('\n'), title) + 1, # NOTE: string(...) for compat with 1.6
86+
count('\n', title) + 1,
8787
length(strip(left_pad * pre_pad * title * post_pad * right_pad, '\n')),
8888
)
8989
end

0 commit comments

Comments
 (0)