Skip to content

Commit 21d59c4

Browse files
committed
Address reviewer feedback
1 parent 78875d9 commit 21d59c4

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

stdlib/public/core/Integers.swift.gyb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -810,68 +810,68 @@ def overflowOperationComment(operator):
810810
comments = {
811811
'+': """\
812812
/// Returns the sum of this value and the given value, along with a Boolean
813-
/// flag indicating whether overflow occurred in the operation.
813+
/// value indicating whether overflow occurred in the operation.
814814
///
815815
/// - Parameter rhs: The value to add to this value.
816816
/// - Returns: A tuple containing the result of the addition along with a
817-
/// Boolean flag indicating whether overflow occurred. If the `overflow`
817+
/// Boolean value indicating whether overflow occurred. If the `overflow`
818818
/// component is `false`, the `partialValue` component contains the entire
819819
/// sum. If the `overflow` component is `true`, an overflow occurred and
820820
/// the `partialValue` component contains the truncated sum of this value
821821
/// and `rhs`.
822822
""",
823823
'-': """\
824824
/// Returns the difference obtained by subtracting the given value from this
825-
/// value, along with a Boolean flag indicating whether overflow occurred in
825+
/// value, along with a Boolean value indicating whether overflow occurred in
826826
/// the operation.
827827
///
828828
/// - Parameter rhs: The value to subtract from this value.
829829
/// - Returns: A tuple containing the result of the subtraction along with a
830-
/// Boolean flag indicating whether overflow occurred. If the `overflow`
830+
/// Boolean value indicating whether overflow occurred. If the `overflow`
831831
/// component is `false`, the `partialValue` component contains the entire
832832
/// difference. If the `overflow` component is `true`, an overflow occurred
833833
/// and the `partialValue` component contains the truncated result of `rhs`
834834
/// subtracted from this value.
835835
""",
836836
'*': """\
837837
/// Returns the product of this value and the given value, along with a
838-
/// Boolean flag indicating whether overflow occurred in the operation.
838+
/// Boolean value indicating whether overflow occurred in the operation.
839839
///
840840
/// - Parameter rhs: The value to multiply by this value.
841841
/// - Returns: A tuple containing the result of the multiplication along with
842-
/// a Boolean flag indicating whether overflow occurred. If the `overflow`
842+
/// a Boolean value indicating whether overflow occurred. If the `overflow`
843843
/// component is `false`, the `partialValue` component contains the entire
844844
/// product. If the `overflow` component is `true`, an overflow occurred and
845845
/// the `partialValue` component contains the truncated product of this
846846
/// value and `rhs`.
847847
""",
848848
'/': """\
849849
/// Returns the quotient obtained by dividing this value by the given value,
850-
/// along with a Boolean flag indicating whether overflow occurred in the
850+
/// along with a Boolean value indicating whether overflow occurred in the
851851
/// operation.
852852
///
853853
/// Dividing by zero is not an error when using this method. For a value `x`,
854854
/// the result of `x.dividedReportingOverflow(by: 0)` is `(x, true)`.
855855
///
856856
/// - Parameter rhs: The value to divide this value by.
857857
/// - Returns: A tuple containing the result of the division along with a
858-
/// Boolean flag indicating whether overflow occurred. If the `overflow`
858+
/// Boolean value indicating whether overflow occurred. If the `overflow`
859859
/// component is `false`, the `partialValue` component contains the entire
860860
/// quotient. If the `overflow` component is `true`, an overflow occurred
861861
/// and the `partialValue` component contains either the truncated quotient
862862
/// or, if the quotient is undefined, the dividend.
863863
""",
864864
'%': """\
865865
/// Returns the remainder after dividing this value by the given value, along
866-
/// with a Boolean flag indicating whether overflow occurred during division.
866+
/// with a Boolean value indicating whether overflow occurred during division.
867867
///
868868
/// Dividing by zero is not an error when using this method. For a value `x`,
869869
/// the result of `x.remainderReportingOverflow(dividingBy: 0)` is
870870
/// `(x, true)`.
871871
///
872872
/// - Parameter rhs: The value to divide this value by.
873873
/// - Returns: A tuple containing the result of the operation along with a
874-
/// Boolean flag indicating whether overflow occurred. If the `overflow`
874+
/// Boolean value indicating whether overflow occurred. If the `overflow`
875875
/// component is `false`, the `partialValue` component contains the entire
876876
/// remainder. If the `overflow` component is `true`, an overflow occurred
877877
/// during division and the `partialValue` component contains either the

0 commit comments

Comments
 (0)