Skip to content

Conversation

@ecstatic-morse
Copy link
Contributor

A partial fix for #20.

@ecstatic-morse

This comment has been minimized.

This handles normal cases, but fails on pathological ones commented out
in the test case.
@lnicola
Copy link
Member

lnicola commented Dec 23, 2021

We're almost regex-free in rust-analyzer, I wish we could avoid it here. But we could at least disable its default features to speed up compile times a little.

bors bot added a commit that referenced this pull request Dec 25, 2021
23: Parse string literals to find their length r=matklad a=ecstatic-morse

Fixes #20. A more complete alternative to #21.

Co-authored-by: Dylan MacKenzie <[email protected]>
@matklad matklad closed this Dec 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants