From 94b004afdc660b998f8401772d9cc4251ed57c61 Mon Sep 17 00:00:00 2001 From: Matt <85322+mattmassicotte@users.noreply.github.com> Date: Mon, 25 Nov 2024 05:58:23 -0500 Subject: [PATCH] Not using the correct type name here --- Sources/Neon/Token.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Neon/Token.swift b/Sources/Neon/Token.swift index 1204b79..5e80794 100644 --- a/Sources/Neon/Token.swift +++ b/Sources/Neon/Token.swift @@ -43,7 +43,7 @@ public struct TokenApplication: Hashable, Sendable { public static let noChange = TokenApplication(tokens: [], action: .apply) } -/// A function that assigns semantic value to a range of text. +/// A type that assigns semantic value to a range of text either syncrhonously or asychrnoously. /// /// The input will be an `NSRange` representing the text that needs styling, and the output is a `TokenApplication`. public typealias TokenProvider = HybridValueProvider