From 493234892f02f461bc9b318381eac103c64b008a Mon Sep 17 00:00:00 2001 From: Brandon Williams <135203+mbrandonw@users.noreply.github.com> Date: Thu, 5 May 2022 06:18:56 -0700 Subject: [PATCH] Update README.md --- README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/README.md b/README.md index a21fa26ff4..c9794b0ca6 100644 --- a/README.md +++ b/README.md @@ -110,14 +110,9 @@ let user = Parse { Already this can consume the beginning of the input: ```swift -// Use a mutable substring to verify what is consumed -var input = input[...] - try user.parse("1,") // 1 ``` -> Note that we use a `Substring` instead of `String` because it allows for more efficient mutations and copying. See the article ["String Abstractions"][string-abstractions-docs] for more information. - Next we want to take everything up until the next comma for the user's name, and then consume the comma: ```swift