Skip to content

Commit 7c52ff7

Browse files
committed
Readiness: swift-format BeginDocumentationCommentWithOneLineSummary (6.3.2-Linux period/blank-line)
1 parent 745098b commit 7c52ff7

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

Sources/Algebra Lattice Primitives/Algebra.Lattice+Comparable.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import Algebra_Semilattice_Primitives
1010
/// `Comparable` Boolean algebra when the type additionally has complements.
1111
extension Algebra.Lattice where Element: Comparable {
1212
/// The min/max (chain) lattice: join = `Swift.max`, meet = `Swift.min`.
13+
///
1314
/// `bottom` must be a lower bound and `top` an upper bound for the type's
1415
/// value range (e.g. `Int.min` / `Int.max` for `Int`).
1516
@inlinable

Sources/Algebra Lattice Primitives/Algebra.Lattice.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,15 @@ extension Algebra {
5353
@frozen
5454
public struct Lattice<Element> {
5555
/// The join (∨) semilattice — least upper bound; its identity is the
56-
/// lattice bottom (⊥). `lattice.join(a, b)` computes a ∨ b.
56+
/// lattice bottom (⊥).
57+
///
58+
/// `lattice.join(a, b)` computes a ∨ b.
5759
public var join: Algebra.Semilattice<Element>
5860

5961
/// The meet (∧) semilattice — greatest lower bound; its identity is the
60-
/// lattice top (⊤). `lattice.meet(a, b)` computes a ∧ b.
62+
/// lattice top (⊤).
63+
///
64+
/// `lattice.meet(a, b)` computes a ∧ b.
6165
public var meet: Algebra.Semilattice<Element>
6266

6367
/// Creates a bounded lattice from its join and meet semilattices.

0 commit comments

Comments
 (0)