Skip to content

Commit 1e94d23

Browse files
committed
Cleanup further doc comment typos.
1 parent b3fe435 commit 1e94d23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/RealModule/AlgebraicField.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
/// I.e. if a is any integer other than 1 or -1, there is no integer b such
3535
/// that `a*b = 1`. The existence of inverses is requried to form a field.
3636
///
37-
/// If a type `T` conforms to the ``Real`` protocol, then `T` and ``Complex<T>``
37+
/// If a type `T` conforms to the ``Real`` protocol, then `T` and `Complex<T>`
3838
/// both conform to `AlgebraicField`.
3939
///
4040
/// See also Swift's `SignedNumeric`, `Numeric` and `AdditiveArithmetic`

Sources/RealModule/Real.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ extension Real {
4141

4242
/// cos(x) - 1, computed in such a way as to maintain accuracy for small x.
4343
///
44-
/// See also ``ElementaryFunctions/expMinusOne()``.
44+
/// See also ``ElementaryFunctions/expMinusOne(_:)``.
4545
@_transparent
4646
public static func cosMinusOne(_ x: Self) -> Self {
4747
let sinxOver2 = sin(x/2)

0 commit comments

Comments
 (0)