• bar-config 0.2.1/src/bar.rs
    341
            let mut path = path.to_string();
    342
            #[cfg_attr(feature = "cargo-clippy", allow(ifs_same_cond))]
    343
            let extension = if cfg!(feature = "toml-fmt") && !cfg!(feature = "json-fmt") {
  • config_file_handler 0.11.0/src/file_handler.rs
    651
        #[ignore]
    652
        #[cfg_attr(feature = "cargo-clippy", allow(ifs_same_cond))]
    653
        fn print_paths() {
  • nokhwa 0.10.3/src/camera.rs
    432
    // TODO: Update as we go
    433
    #[allow(clippy::ifs_same_cond)]
    434
    fn figure_out_auto() -> Option<ApiBackend> {
  • sentry-contrib-native-sys 0.3.1/build.rs
    47
        /// for details.
    48
        #[allow(clippy::ifs_same_cond, clippy::same_functions_in_if_condition)]
    49
        fn new(target_os: &str) -> Self {
  • anyhow 1.0.68/tests/test_ensure.rs
    4
        clippy::if_same_then_else,
    5
        clippy::ifs_same_cond,
    6
        clippy::items_after_statements,