diff --git a/src/string.cr b/src/string.cr index 14f328553f0e..c8bcc85d4718 100644 --- a/src/string.cr +++ b/src/string.cr @@ -907,6 +907,7 @@ class String byte_slice start, bytesize - start end + @[Deprecated("Use .char_at(index).ord instead")] def codepoint_at(index) char_at(index).ord end