Skip to content

Commit

Permalink
Replace reduce(max with maximum in sysimg.jl (#46343)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner authored Aug 14, 2022
1 parent e1fa6a5 commit f4cee90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/sysimg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ let
# 7-depth packages
:LazyArtifacts,
]
maxlen = reduce(max, textwidth.(string.(stdlibs)); init=0)
maxlen = maximum(textwidth.(string.(stdlibs)))

tot_time_stdlib = 0.0
# use a temp module to avoid leaving the type of this closure in Main
Expand Down

0 comments on commit f4cee90

Please sign in to comment.