Skip to content

Commit

Permalink
fix: make TreeConstructor's TokenSink conformance public
Browse files Browse the repository at this point in the history
fixes #95
  • Loading branch information
kkebo committed Jun 29, 2024
1 parent 3f48481 commit 12c184a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/TreeConstructor/TreeConstructor.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Tokenizer
public import Tokenizer

public struct TreeConstructor: ~Copyable {
private var mode: InsertionMode
Expand All @@ -9,7 +9,7 @@ public struct TreeConstructor: ~Copyable {
}

extension TreeConstructor: TokenSink {
mutating func process(_ token: consuming Token) {
public mutating func process(_ token: consuming Token) {
switch self.mode {
case .initial:
switch token {
Expand Down

0 comments on commit 12c184a

Please sign in to comment.