Skip to content

Commit b24b964

Browse files
authored
Fix typos in doc comments across the codebase (#513)
1 parent e7e318e commit b24b964

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Sources/TokamakCore/Animation/Transaction.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
public struct Transaction {
16-
/// The overriden transaction for a state change in a `withTransaction` block.
16+
/// The overridden transaction for a state change in a `withTransaction` block.
1717
/// Is always set back to `nil` when the block exits.
1818
static var _active: Self?
1919

Sources/TokamakCore/Animation/_AnimationSolvers.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import Foundation
2121
public protocol _AnimationSolver {
2222
/// Solve value at a specific point in time.
2323
func solve(at t: Double) -> Double
24-
/// Calculates the duration of the animation to a specific presision.
24+
/// Calculates the duration of the animation to a specific precision.
2525
func restingPoint(precision y: Double) -> Double
2626
}
2727

Sources/TokamakCore/Stubs/CGStubs.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public struct CGAffineTransform: Equatable {
103103
/// Returns an affine transformation matrix constructed from a rotation value you provide.
104104
/// - Parameters:
105105
/// - angle: The angle, in radians, by which this matrix rotates the coordinate system axes.
106-
/// A positive value specifies clockwise rotation and anegative value specifies
106+
/// A positive value specifies clockwise rotation and a negative value specifies
107107
/// counterclockwise rotation.
108108
public init(rotationAngle angle: CGFloat) {
109109
self.init(a: cos(angle), b: sin(angle), c: -sin(angle), d: cos(angle), tx: 0, ty: 0)

Sources/TokamakStaticHTML/Views/Containers/List.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ extension InsetGroupedListStyle: ListStyleDeferredToRenderer {
162162
}
163163
}
164164

165-
// TODO: Make sections collabsible (see Section.swift for more impl. details)
165+
// TODO: Make sections collapsible (see Section.swift for more impl. details)
166166
extension SidebarListStyle: ListStyleDeferredToRenderer {
167167
public func sectionHeader<Header>(_ header: Header) -> AnyView where Header: View {
168168
AnyView(

0 commit comments

Comments
 (0)