Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index access support for String #269

Open
sunng87 opened this issue May 19, 2019 · 1 comment
Open

Index access support for String #269

sunng87 opened this issue May 19, 2019 · 1 comment
Assignees

Comments

@sunng87
Copy link
Owner

sunng87 commented May 19, 2019

At the moment, we only support index access for Array. String is also accessible via number index. Given s = "hello", the expression s.[0] should output h.

@sunng87 sunng87 added this to the 2.0 milestone May 19, 2019
@sunng87 sunng87 self-assigned this May 19, 2019
@sunng87
Copy link
Owner Author

sunng87 commented Jun 27, 2019

Attempted in #251 but for now it's not possible to get borrowed substring in serde.

I'm moving this out of 2.0's scope for now.

@sunng87 sunng87 removed this from the 2.0 milestone Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant