Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Commit

Permalink
fix obsolete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
slingamn committed Jun 24, 2019
1 parent 9c32f60 commit 6fb1b63
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions github.com/oragono/confusables/confusables.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ func Skeleton(s string) string {
return skeletonBase(s, lookupReplacement)
}

// SkeletonTweaked is like Skeleton, but it does not treat ASCII alphanumerics
// as confusable (whereas the standard table treats 0 as confusable with O,
// 1 and I as confusable with l, and m as confusable with rn)
// SkeletonTweaked is like Skeleton, but it implements some custom overrides
// to the confusables table (currently it removes the m -> rn mapping):
func SkeletonTweaked(s string) string {
return skeletonBase(s, lookupReplacementTweaked)
}
Expand Down

0 comments on commit 6fb1b63

Please sign in to comment.