Skip to content

Commit 2d70b7d

Browse files
committed
Fixup docstrings
1 parent 5ebf8ad commit 2d70b7d

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

base/reduce.jl

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -769,10 +769,9 @@ Compute both the minimum and maximum element in a single pass, and return them a
769769
770770
The value returned for empty `itr` can be specified by `init`. It must be a 2-tuple whose
771771
first and second elements are neutral elements for `min` and `max` respectively
772-
(i.e. which are greater/less than or equal to any other element).
773-
is used for non-empty collections. Note: it implies that, for empty `itr`, the first
774-
element is typically _greater_ than the last element. This is a "paradoxical" but yet
775-
expected result.
772+
(i.e. which are greater/less than or equal to any other element). It is used for non-empty
773+
collections. Note: it implies that, for empty `itr`, the first element is typically
774+
_greater_ than the last element. This is a "paradoxical" but yet expected result.
776775
777776
!!! compat "Julia 1.6"
778777
Keyword argument `init` requires Julia 1.6 or later.
@@ -799,10 +798,9 @@ them as a 2-tuple. Only one pass is made over `itr`.
799798
800799
The value returned for empty `itr` can be specified by `init`. It must be a 2-tuple whose
801800
first and second elements are neutral elements for `min` and `max` respectively
802-
(i.e. which are greater/less than or equal to any other element).
803-
is used for non-empty collections. Note: it implies that, for empty `itr`, the first
804-
element is typically _greater_ than the last element. This is a "paradoxical" but yet
805-
expected result.
801+
(i.e. which are greater/less than or equal to any other element). It is used for non-empty
802+
collections. Note: it implies that, for empty `itr`, the first element is typically
803+
_greater_ than the last element. This is a "paradoxical" but yet expected result.
806804
807805
!!! compat "Julia 1.2"
808806
This method requires Julia 1.2 or later.

0 commit comments

Comments
 (0)