Skip to content

Commit

Permalink
ctystrings: clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoe authored and apparentlymart committed Aug 24, 2023
1 parent 1fd34af commit 560dd28
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cty/ctystrings/prefix.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ import (
// application can guarantee that the remainder of the string will not begin
// with combining marks then it is safe to instead just normalize the prefix
// string with [Normalize].
//
// Note that this function only takes into account normalization boundaries
// and does _not_ take into account grapheme cluster boundaries as defined
// by Unicode Standard Annex #29.
func SafeKnownPrefix(prefix string) string {
prefix = Normalize(prefix)

Expand Down

0 comments on commit 560dd28

Please sign in to comment.