Open gwen-lg opened 1 month ago
Use of #[profiling::function] shouldn't break Clippy lint detection like missing_errors_doc.
missing_errors_doc
Currently, this report no lint
/// This `profiling::function` attribute is equivalent to profiling::scope!(function_name) #[profiling::function] fn some_function() -> Result<(), Error>{ burn_time(5)?; }
while, this report missing_errors_doc lint
fn some_function() -> Result<(), Error>{ profiling::scope!(function_name) burn_time(5)?; }
Use of #[profiling::function] shouldn't break Clippy lint detection like
missing_errors_doc
.Currently, this report no lint
while, this report
missing_errors_doc
lint