Deny clippy:;four_forward_slashes and fix the only occurrence

This commit is contained in:
Josh Triplett 2025-01-12 15:06:44 +02:00
parent e54264c509
commit 9c5b99dc92
2 changed files with 2 additions and 1 deletions

View file

@ -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