mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
janitor: Disable clippy::overly_complex_bool_expr
in generated rust code
This makes clippy error out in our users code (using a nightly compiler).
This commit is contained in:
parent
b925460635
commit
c2056075c0
1 changed files with 1 additions and 0 deletions
|
@ -201,6 +201,7 @@ pub fn generate(doc: &Document) -> TokenStream {
|
|||
#[allow(clippy::cmp_owned)] // The generated code will do this
|
||||
#[allow(clippy::redundant_clone)] // TODO: We clone properties more often then needed
|
||||
// according to clippy!
|
||||
#[allow(clippy::overly_complex_bool_expr)]
|
||||
mod #compo_module {
|
||||
use slint::private_unstable_api::re_exports::*;
|
||||
use slint::private_unstable_api::re_exports as sp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue