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

Trigger clippy: empty doc comment #1000

Closed
Luv-Ray opened this issue Mar 25, 2024 · 3 comments
Closed

Trigger clippy: empty doc comment #1000

Luv-Ray opened this issue Mar 25, 2024 · 3 comments

Comments

@Luv-Ray
Copy link

Luv-Ray commented Mar 25, 2024

It generated 1 warning when I run cargo clippy:

warning: empty doc comment
  --> cypherparser/src/parser.rs:21:10
   |
21 | #[derive(Parser)]
   |          ^^^^^^
   |
   = help: consider removing or filling it
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
   = note: `#[warn(clippy::empty_docs)]` on by default
   = note: this warning originates in the derive macro `Parser` (in Nightly builds, run with -Z macro-backtrace for more info)

I have checked my grammer.pest and be sure that I have not written any empty doc comments like /// or // . I want to know if there are any other situations in which pest would generate empty doc comments.

Thanks.

@tomtau
Copy link
Contributor

tomtau commented Mar 25, 2024

@huacnlee do you know? Is it for some builtins?

@HoloTheDrunk
Copy link
Contributor

Likely #987 and the fix just hasn't been deployed yet since it was right after the 2.7.8 release.

@Luv-Ray
Copy link
Author

Luv-Ray commented Mar 26, 2024

Thanks.

@Luv-Ray Luv-Ray closed this as completed Mar 26, 2024
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

3 participants