salsa-rs / salsa

A generic framework for on-demand, incrementalized computation. Inspired by adapton, glimmer, and rustc's query system.
https://salsa-rs.netlify.app/
Apache License 2.0
2.09k stars 142 forks source link

Allow `clippy::unused_unit` in `salsa::Update` macro #513

Closed Y-Nak closed 1 month ago

Y-Nak commented 2 months ago

Clippy emits an unused_unit warning when the salsa::Update macro is applied to an enum that contains a unit variant. This PR suppresses the warning.

netlify[bot] commented 2 months ago

Deploy Preview for salsa-rs canceled.

Name Link
Latest commit 682fb7db995311348abd80e72d79915bb1d43d5d
Latest deploy log https://app.netlify.com/sites/salsa-rs/deploys/667f0570f7c5030008c0022a
nikomatsakis commented 1 month ago

Thanks! I think I included this fix already in my massive PR though (wish I'd seen this earlier). Going to close this.