RS.CLIPPY.FOUR_FORWARD_SLASHES
Comments with 4 forward slashes (`////`) likely intended to be doc comments (`///`)
This checker is a Clippy lint created by The Rust Project Contributors. The documentation shown here is a copy of the original documentation for: four_forward_slashes. Copyright ©2025 The Rust Team. All rights reserved.
What it does
Checks for outer doc comments written with 4 forward slashes (////).
Why is this bad?
This is (probably) a typo, and results in it not being a doc comment; just a regular comment.
Example
//// My amazing data structure
pub struct Foo {
// ...
}
Use instead:
/// My amazing data structure
pub struct Foo {
// ...
}