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

Fix typos #2030

Merged
merged 1 commit into from
Jan 18, 2022
Merged

Fix typos #2030

merged 1 commit into from
Jan 18, 2022

Conversation

kianmeng
Copy link
Contributor

No description provided.

Copy link
Member

@birkenfeld birkenfeld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one fix - otherwise looks good. Thanks a lot!

@@ -66,7 +66,7 @@ class RustLexer(RegexLexer):
tokens = {
'root': [
# rust allows a file to start with a shebang, but if the first line
# starts with #![ then it's not a shebang but a crate attribute.
# starts with #![ then it's not a shebang but a create attribute.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is wrong, "crate" is the correct term here. (It's also a valid English word - how was this fix generated?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Codespell and aspell.

Copy link
Member

@birkenfeld birkenfeld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@birkenfeld birkenfeld merged commit 2a0cecb into pygments:master Jan 18, 2022
@kianmeng
Copy link
Contributor Author

🎉 🎉 🎉 🎉 🎉

@Anteru Anteru added this to the 2.12.0 milestone Feb 20, 2022
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.

3 participants