Ogeon / palette

A Rust library for linear color calculations and conversion
Apache License 2.0
751 stars 60 forks source link

Fix `clippy::doc_lazy_continuation` lints #402

Closed waywardmonkeys closed 1 month ago

waywardmonkeys commented 1 month ago

Rust 1.80 brought a new clippy lint that detected when itemized list entries didn't indent the lines after the first. Indent those lines to silence that warning.

Ogeon commented 1 month ago

Thanks for taking the time to correct them! I see that a couple of other issues have popped up as well... :grimacing:

codspeed-hq[bot] commented 1 month ago

CodSpeed Performance Report

Merging #402 will improve performances by 10.14%

Comparing waywardmonkeys:fix-clippy-doc-lazy-continuation-lints (08ea298) with master (8550250)

Summary

⚡ 1 improvements ✅ 45 untouched benchmarks

Benchmarks breakdown

Benchmark master waywardmonkeys:fix-clippy-doc-lazy-continuation-lints Change
multiply_3x3 316.7 ns 287.5 ns +10.14%
Ogeon commented 1 month ago

The initial clippy step passed, so I will bypass the rest and fix them separately. I need to think about that syn MSRV issue a bit.