Skip to content

Code: Insert a ZWNJ before after type hints #6236

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

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

lnicola
Copy link
Member

@lnicola lnicola commented Oct 15, 2020

to prevent the editor from displaying a ligature there.

Fixes #6235

@bjorn3
Copy link
Member

bjorn3 commented Oct 15, 2020

Could you add a comment that it is a ZWNJ?

@matklad
Copy link
Member

matklad commented Oct 15, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 15, 2020

@bors bors bot merged commit 7dd09a7 into rust-lang:master Oct 15, 2020
@lnicola lnicola deleted the hints-zwnj branch October 15, 2020 11:00
bors added a commit that referenced this pull request Jan 3, 2023
Use ZWNJ to prevent VSCode from forming ligatures between hints and code

Turns out VSCode still has this issue for native hints as well, cc #6236
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong color of ? operator in face of hints
3 participants