apple / swift-algorithms

Commonly used sequence and collection algorithms for Swift
Apache License 2.0
5.9k stars 435 forks source link

Corrects variable name in max functions to better reflect usage #191

Closed dickoff closed 1 year ago

dickoff commented 1 year ago

The variable smallestThree should really be named largestThree. Looks like this was originally a copy paste error from the min documentation.

I noticed this error in the code section of the docs for max. This change only affects documentation and does not affect any actual code.

Checklist

glessard commented 1 year ago

@swift-ci please smoke test

dickoff commented 1 year ago

@swift-ci Please test