-
Notifications
You must be signed in to change notification settings - Fork 1.7k
missing double quote in source example on master folder in large_include_file
lint
#8765
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
Comments
@rustbot claim |
Hey @alexzanderr, thank you for the report. I've created a PR to fix this. For your tool it would probably be good to ignore example code blocks that are marked with Out of interest, would you mind providing some more information about the tool you're creating? It sounds interesting 🙃 |
cargo-clippy-explain its a tool that does web scraping for a lint and gets the examples and explanations which then will be syntax highlighted and a little beautyfied in the terminal. since the text in the artcile tag has no classes and no ids, after some filtering and beautyfication, the output is printed to stdout. this will get me and others understand how to write clean code, since understanding the clippy lints is key factor to write clean code, this tool its going to be great. i just began to be rust dev. |
In rustdoc everything is expected to be valid rust code unless a different language is specified. You could also try to use Edit: The most recent json and version specific jsons are also available online, see: https://github.com/rust-lang/rust-clippy/blob/gh-pages/master/lints.json We actually also want to add the lint documentation to Clippy's TUI as well. If you have finished, feel free to share your tool, I'd be interested to see it 🙃 |
how do i run this command |
Add missing quite in `large_include_file` example Roses are red, violets are blue, this fix, was simple to do Closes: #8765 changelog: None
The JSON contains normal markdown, the rest is just styling. In markdown code blocks are marked with backticks like this: Normal text that should be rendered as normal
```rs
^^^This starts syntax highlighting
// Rust code
vvv This stops syntax highlighting
``` |
before this convo, i havent looked at the json, was trying to scrape from the website |
Just checkout the master and run |
will be on github after being a great tool, i will PR into default clippy |
you mean clippy CLI. |
Yes, I mix up the terms sometimes 😅 |
we can talk on discord, instead of spamming here, you can add me here |
Description
if you go on this url: https://rust-lang.github.io/rust-clippy/master/index.html#large_include_file
you will see that the source example has a missing
"
:please fix that, because im making a program that validates that source code and i need it to compile.
i know that its an insignificant issue, im sorry, but my program will fail.
so take your time.
Version
No response
Additional Labels
No response
The text was updated successfully, but these errors were encountered: