Skip to content

Commit

Permalink
Fix comment format
Browse files Browse the repository at this point in the history
  • Loading branch information
dabrahams committed Jan 11, 2024
1 parent e4e8116 commit 07a1ffa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Sources/Lotsawa/UniqueCounter.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// A function object; returns the number of unique `T`'s in a given Sequence.
// Implemented as a function object to optimize repeated invocations by reusing a Set<T>.
/// A function object; returns the number of unique `T`'s in a given Sequence.
///
/// Implemented as a function object to optimize repeated invocations by reusing a Set<T>.
struct UniqueCounter<T: Hashable> {
private var scratch: Set<T> = []

Expand Down

0 comments on commit 07a1ffa

Please sign in to comment.