Skip to content

Commit

Permalink
Make tiny function definition inline (style) (#47446)
Browse files Browse the repository at this point in the history
Follows up #46764
  • Loading branch information
LilithHafner authored Nov 4, 2022
1 parent 6fc3d2c commit 4053f69
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions base/ryu/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ lengthforindex(idx) = div(((Int64(16 * idx) * 1292913986) >> 32) + 1 + 16 + 8, 9
Return `true` if `5^p` is a divisor of `x`.
"""
function pow5(x, p)
x % (5^p) == 0
end
pow5(x, p) = x % (5^p) == 0

"""
Ryu.pow2(x, p)
Expand Down

2 comments on commit 4053f69

@maleadt
Copy link
Member

@maleadt maleadt commented on 4053f69 Nov 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing out a PkgEval change:

@nanosoldier runtests(["Example"])

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your package evaluation job has completed - no issues were detected. A full report can be found here.

Please sign in to comment.