You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case where I want to manually create a slice into a source string by setting the final string content and the original offset. When I want to refer to the content I would just ignore the original_offset.
I have a use case where I want to manually create a slice into a source string by setting the final string content and the original offset. When I want to refer to the content I would just ignore the
original_offset
.Here is the implementation I have come up with:
I wonder if this use case is something useful for others so that I submit a PR, and if you have any notes on the approach.
The text was updated successfully, but these errors were encountered: