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

Remove Display for TextSize #9

Merged
merged 1 commit into from
Mar 12, 2020
Merged

Conversation

CAD97
Copy link
Collaborator

@CAD97 CAD97 commented Mar 11, 2020

We removed the Display impl for TextRange, we should at least consider removing it for TextSize as well.

@matklad
Copy link
Member

matklad commented Mar 12, 2020

Excellent observation! utf8 index does not make any sense for the user. Ie, using it as a "column", for example, would be wrong!

1 similar comment
@matklad
Copy link
Member

matklad commented Mar 12, 2020

Excellent observation! utf8 index does not make any sense for the user. Ie, using it as a "column", for example, would be wrong!

@matklad matklad merged commit c4f6e51 into rust-analyzer:master Mar 12, 2020
@CAD97 CAD97 deleted the textsize-fmt branch March 26, 2020 00:21
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.

2 participants