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

[feat] some rust docs example can adopt incorrect-example-vs-correct-example-style #1406

Closed
loynoir opened this issue Sep 24, 2023 · 0 comments

Comments

@loynoir
Copy link

loynoir commented Sep 24, 2023

Actual

Current https://doc.rust-lang.org document

  • some document on what code is incorrect

  • some document on what code is correct

Sometimes, must read full document to understand, without diff.

Expected

https://typescript-eslint.io/rules/explicit-function-return-type

typescript-eslint document on

  • what code is incorrect and what code is correct

Able to understand, or guess, when first glance, with diff.

Suggestion

Some rust docs example can adopt incorrect-example-vs-correct-example-style.

@loynoir loynoir closed this as completed Sep 30, 2023
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

No branches or pull requests

1 participant