add doc_markdown clippy lint (#8552)

Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Thomas Coratger
2024-06-03 15:21:45 +02:00
committed by GitHub
parent 34af610b8e
commit 7c17c6e469
440 changed files with 2166 additions and 2145 deletions

View File

@ -156,7 +156,7 @@ fn should_use_alt_impl(ftype: &String, segment: &syn::PathSegment) -> bool {
]
.contains(&path.ident.to_string().as_str())
{
return true
return true;
}
}
}
@ -179,7 +179,7 @@ pub fn get_bit_size(ftype: &str) -> u8 {
}
/// Given the field type in a string format, checks if its type should be added to the
/// StructFlags.
/// `StructFlags`.
pub fn is_flag_type(ftype: &str) -> bool {
get_bit_size(ftype) > 0
}