Clippy vs. "////"

Clippy now doesn't like "////" comments. It complains they're not "///" doc comments.

What's the approved way to comment out something?

/* something */
////// something

Is it possible to disable clippy's complaints about "////"? That doesn't seem to have an "allow".

#![allow(clippy::four_forward_slashes)]

I didn't know the answer ahead of time; the lint name is mentioned in the warning. IDE not showing all of cargo's output maybe?

4 Likes

Just not showing it on every error. It was in there somewhere. Thanks.

1 Like

Quinedot's answer should be marked as the solution.

3 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.