From d118fc5dfed87e07bfbaa0d44f7d663f31d7ca19 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 11 Sep 2015 10:03:52 -0400 Subject: [PATCH] Parser state has public fields. --- Doubt/Parse.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doubt/Parse.swift b/Doubt/Parse.swift index 4ebec5df0..a60c4d5ec 100644 --- a/Doubt/Parse.swift +++ b/Doubt/Parse.swift @@ -1,6 +1,6 @@ public struct State { - let rest: String - let value: T + public let rest: String + public let value: T } public prefix func ^(string: String)(_ input: String) -> State? {