Skip to content

Commit

Permalink
Revert "Deprecate String#codepoint_at (#8475)" (#8902)
Browse files Browse the repository at this point in the history
This reverts commit ef7fcd7.
  • Loading branch information
vlazar authored Mar 12, 2020
1 parent 14df86e commit c6718ce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/string.cr
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,6 @@ class String
byte_slice start, bytesize - start
end

@[Deprecated("Use .char_at(index).ord instead")]
def codepoint_at(index)
char_at(index).ord
end
Expand Down

0 comments on commit c6718ce

Please sign in to comment.