diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2025-01-12 15:06:44 +0200 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2025-01-12 15:09:16 +0200 |
| commit | 9c5b99dc92005d52d7b877f8501bc90da767c5df (patch) | |
| tree | 0752f99129bfad21e60f3dae5fc53133cd84fbcb /compiler/rustc_resolve/src/rustdoc.rs | |
| parent | e54264c509ae6a93f0b1f1b2d36f7c9aabc5e681 (diff) | |
| download | rust-9c5b99dc92005d52d7b877f8501bc90da767c5df.tar.gz rust-9c5b99dc92005d52d7b877f8501bc90da767c5df.zip | |
Deny `clippy:;four_forward_slashes` and fix the only occurrence
Diffstat (limited to 'compiler/rustc_resolve/src/rustdoc.rs')
| -rw-r--r-- | compiler/rustc_resolve/src/rustdoc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/rustdoc.rs b/compiler/rustc_resolve/src/rustdoc.rs index 84e43d0e016..7998596c59e 100644 --- a/compiler/rustc_resolve/src/rustdoc.rs +++ b/compiler/rustc_resolve/src/rustdoc.rs @@ -347,7 +347,7 @@ pub fn strip_generics_from_path(path_str: &str) -> Result<Box<str>, MalformedGen /// Returns whether the first doc-comment is an inner attribute. /// -//// If there are no doc-comments, return true. +/// If there are no doc-comments, return true. /// FIXME(#78591): Support both inner and outer attributes on the same item. pub fn inner_docs(attrs: &[impl AttributeExt]) -> bool { attrs |
