• Michael Müller's avatar
    Run clippy with `--all-targets` (#884) · 4b909706
    Michael Müller authored
    * Add clippy flag `--all-targets`
    
    * Fix `redundant_closure`
    
    * Fix `redundant_clone`
    
    * Fix `clone_on_copy`
    
    * Fix `needless_borrow`
    
    * Fix `bool_assert_comparison`
    
    * Fix `len_zero`
    
    * Fix `stable_sort_primitive`
    
    * Forward feature
    
    * Allow `type_complexity`
    
    * Fix `unnecessary_mut_passed`
    
    * Fix `manual_map`
    
    * Fix `match_like_matches_macro`
    
    * Remove duplicate test
    
    * Fix `new_without_default`
    
    * Fix `match_ref_pats`
    
    * Allow clippy rules for  tests
    
    * Fix `unit_arg`
    
    * Apply `cargo fmt`
    
    * Add explanatory comments
    
    * Remove `--all-targets` for Wasm tests
    
    * Fix `or_fun_call`
    
    * Fix `bool_comparison`
    
    * Fix `needless_collect`
    
    * Revert "Forward feature"
    
    This reverts commit 472c50ed.
    
    * Fix `bool_assert_comparison`
    
    * Deactivate test because of feature issue with dev-dependencies
    
    * Add flag
    
    * Fix `unique_topics` tests
    
    * Allow `clippy:bool_assert_comparison`
    
    * Revert "Fix `bool_assert_comparison`"
    
    This reverts commit bceb2dc2.
    
    * Revert "Fix `bool_comparison`"
    
    This reverts commit 02960f98.
    
    * Fix flags positioning
    
    * Add comment for clarification
    
    * Fix comparison
    
    * Do not check all targets for target = wasm32
    
    * Adapt `check-workspace.sh` with clippy flag
    
    * Add clarification comment
    
    * Ignore test
    
    * Revert `CLIPPY_FLAGS` hack
    
    * Link ink! issue
    
    * Fix `assert`'s
    
    * Fix `assert`'s
    4b909706