• aide-de-camp-sqlite 0.2.0/src/queue.rs
    119
        #[allow(clippy::or_fun_call)]
    120
        #[instrument(skip_all, err)]
  • ark-poly 0.4.0/src/polynomial/univariate/sparse.rs
    250
        /// Perform a naive n^2 multiplication of `self` by `other`.
    251
        #[allow(clippy::or_fun_call)]
    252
        pub fn mul(&self, other: &Self) -> Self {
  • arrow2 0.15.0/src/io/ipc/write/stream.rs
    82
            // we can't make it a closure because it borrows (and it can't borrow mut and non-mut below)
    83
            #[allow(clippy::or_fun_call)]
    84
            let fields = ipc_fields.unwrap_or(self.ipc_fields.as_ref().unwrap());
  • avocado 0.6.0/src/error.rs
    274
        #[allow(clippy::or_fun_call)]
    275
        fn backtrace(&self) -> Option<&Backtrace> {
  • aw-server 0.8.0/src/endpoints/mod.rs
    62
    fn server_info(config: State<AWConfig>, state: State<ServerState>) -> Json<Info> {
    63
        #[allow(clippy::or_fun_call)]
    64
        let hostname = gethostname().into_string().unwrap_or("unknown".to_string());
  • binreader 0.2.1/src/iter.rs
    31
        pub fn endidness(&self) -> Endidness {
    32
            #[allow(clippy::or_fun_call)]
    33
            self.endidness_override.unwrap_or(self.reader.endidness())
  • cargo-create 0.3.1/src/steps/clone.rs
    12
    // fails on compilation.
    13
    #[allow(clippy::or_fun_call)]
    14
    pub fn run(args: &Args, user_config: &UserConfig) -> Result<PathBuf> {
  • crossbeam-channel 0.5.6/tests/select_macro.rs
    946
    #[allow(clippy::or_fun_call)] // This is intentional.
    947
    #[test]
  • daybreak 0.1.0/src/backend/path.rs
    80
            #[allow(clippy::or_fun_call)] // `Path::new` is a zero cost conversion
    81
            let mut tempf = NamedTempFile::new_in(self.path.parent().unwrap_or(Path::new(".")))?;
  • db-derive-impl 0.1.8/src/kind.rs
    37
    impl Kind {
    38
        #[allow(clippy::or_fun_call)]
    39
        pub fn derive(input: DeriveInput) -> TokenStream {
  • dlauncher 0.1.1/src/fuzzy/util.rs
    19
      let mut indices = indices.skip_while(|(_, co)| *co != high);
    20
      #[allow(clippy::or_fun_call)]
    21
      let high_index = indices.next().map(|(bo, _)| bo).unwrap_or(string.len());
  • ergo-lib-wasm 0.22.0/src/block_header.rs
    65
        /// parse BlockHeader array from JSON (Node API)
    66
        #[allow(clippy::boxed_local, clippy::or_fun_call)]
    67
        pub fn from_json(json_vals: Box<[JsValue]>) -> Result<BlockHeaders, JsValue> {
  • ergo-lib-wasm 0.22.0/src/box_coll.rs
    15
        /// parse ErgoBox array from json
    16
        #[allow(clippy::boxed_local, clippy::or_fun_call)]
    17
        pub fn from_boxes_json(json_vals: Box<[JsValue]>) -> Result<ErgoBoxes, JsValue> {
  • feo-oop-engine 0.0.5/src/scene/game_object/obj.rs
    123
    impl Obj {
    124
        #[allow(clippy::too_many_arguments, clippy::or_fun_call)]
    125
        pub fn new_empty(
    165
        #[allow(clippy::too_many_arguments, clippy::or_fun_call)]
    166
        pub fn from_triangle_mesh_vec(
    378
                let mut e = line.0.split_whitespace();
    379
                #[allow(clippy::or_fun_call)]
    380
                let ty: &str = e.next().ok_or(format!("error on line {} of {}", line_n, path).as_str()).unwrap();
  • gdnative-doc 0.0.6/src/builder.rs
    113
        /// needed.
    114
        #[allow(clippy::or_fun_call)]
    115
        pub fn build(mut self) -> Result<(), Error> {
  • gstat 0.1.2/src/main.rs
    121
    impl BitOrAssign for Cli {
    122
        #[allow(clippy::or_fun_call)]
    123
        fn bitor_assign(&mut self, rhs: Self) {
    581
    // https://github.com/rust-lang/rust-clippy/issues/7483
    582
    #[allow(clippy::or_fun_call)]
    583
    fn main() -> Result<(), Box<dyn Error>> {
  • imagequant 4.1.0/src/quant.rs
    327
    ///  `feedback_loop_trials` controls how long the search will take. < 0 skips the iteration.
    328
    #[allow(clippy::or_fun_call)]
    329
    pub(crate) fn find_best_palette(attr: &Attributes, target_mse: f64, target_mse_is_zero: bool, max_mse: Option<f64>, mut hist: HistogramInternal, fixed_colors: &FixedColorsSet) -> Result<(PalF, Option<f64>), Error> {
  • kmedoids 0.4.1/src/alternating.rs
    64
    #[inline]
    65
    #[allow(clippy::or_fun_call)] // zero() is fine
    66
    pub(crate) fn assign_nearest<M, N, L>(mat: &M, med: &[usize], data: &mut [usize]) -> L
  • lapce-wasi-experimental-http 0.10.0/src/lib.rs
    282
            let mut parts = entry.splitn(2, ':');
    283
            #[allow(clippy::or_fun_call)]
    284
            let k = parts.next().ok_or(anyhow::format_err!(
  • libafl 0.9.0/src/mutators/gramatron.rs
    84
        #[must_use]
    85
        #[allow(clippy::or_fun_call)]
    86
        pub fn new(input: &GramatronInput) -> Self {
  • libcoap-rs 0.2.1/src/message/request.rs
    45
        // outlives its Vec, so we have to use unwrap_or here.
    46
        #[allow(clippy::or_fun_call)]
    47
        pub fn new_request_uri(uri: CoapUri) -> Result<CoapRequestUri, OptionValueError> {
  • mars-core 1.0.0/src/testing/mars_mock_querier.rs
    111
        /// values for the rest of the fields)
    112
        #[allow(clippy::or_fun_call)]
    113
        pub fn set_cw20_total_supply(&mut self, cw20_address: Addr, total_supply: Uint128) {
    123
        #[allow(clippy::or_fun_call)]
    124
        pub fn set_cw20_symbol(&mut self, cw20_address: Addr, symbol: String) {
  • mwtitle 0.2.1/tests/validation.rs
    40
        // Could use Entry::insert once it's stabilized.
    41
        #[allow(clippy::or_fun_call)]
    42
        entry
  • naga 0.11.0/src/proc/layouter.rs
    166
        /// types.
    167
        #[allow(clippy::or_fun_call)]
    168
        pub fn update(
  • naga 0.11.0/src/valid/analyzer.rs
    415
        /// Also, bumps the reference counts on dependent expressions.
    416
        #[allow(clippy::or_fun_call)]
    417
        fn process_expression(
    717
        /// require uniformity, but the current flow is non-uniform.
    718
        #[allow(clippy::or_fun_call)]
    719
        fn process_block(
  • nats-aflowt 0.16.105/src/jetstream/mod.rs
    1201
            // Figure out if we have a consumer name
    1202
            #[allow(clippy::or_fun_call)]
    1203
            let maybe_durable_name = maybe_options
  • neodyn_xc 0.4.0/src/error.rs
    228
        #[allow(clippy::or_fun_call)]
    229
        fn stack_trace(&self) -> Option<&Backtrace> {
  • noughts-and-crosses 0.0.9/src/game.rs
    78
        // Functions used have side affects so should be called every time (not using `or_else`).
    79
        #[allow(clippy::or_fun_call)]
    80
        pub fn winner(
  • nyx-space 1.1.1/src/md/opti/multipleshooting/multishoot.rs
    285
    {
    286
        #[allow(clippy::or_fun_call, clippy::clone_on_copy)]
    287
        fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
  • open-vaf 0.4.2/src/hir_lowering/mod.rs
    216
                        #[allow(clippy::or_fun_call)]
    217
                        let default_value = ConstantSchematicAnalysis()
    251
                        #[allow(clippy::or_fun_call)]
    252
                        let default_value = ConstantSchematicAnalysis()
  • opencontainers 0.0.0-alpha.2/src/distribution/auth.rs
    96
        fn get(client: &Client, chall: &BearerChallenge) -> Result<Token, RegistryError> {
    97
            #[allow(clippy::or_fun_call)]
    98
            let realm = chall
    149
        #[allow(clippy::or_fun_call)]
    150
        let challenges = WwwAuthenticate::parse_header(&raw)
  • opencontainers 0.0.0-alpha.2/src/distribution/mod.rs
    168
            info!("Authentication required");
    169
            #[allow(clippy::or_fun_call)]
    170
            let authenticate = response
  • opencontainers 0.0.0-alpha.2/src/image/manifest.rs
    118
        #[allow(clippy::or_fun_call)]
    119
        let media_type_split = media_type
  • openidconnect 3.0.0-alpha.1/src/http_utils.rs
    12
    pub fn content_type_has_essence(content_type: &HeaderValue, expected_essence: &str) -> bool {
    13
        #[allow(clippy::or_fun_call)]
    14
        content_type
  • ostree-ext 0.10.5/src/chunking.rs
    258
        /// generate chunks that group together those objects.
    259
        #[allow(clippy::or_fun_call)]
    260
        pub fn process_mapping(
  • palc 3.1.6/examples/tutorial_derive/04_04_custom.rs
    75
            // todo: remove `#[allow(clippy::or_fun_call)]` lint when MSRV is bumped.
    76
            #[allow(clippy::or_fun_call)]
    77
            let input = cli
  • pathfinder_renderer 0.5.0/src/tiles.rs
    56
    impl<'a, 'b> Tiler<'a, 'b> {
    57
        #[allow(clippy::or_fun_call)]
    58
        pub(crate) fn new(
  • petridish 0.6.1/src/repository.rs
    97
        #[allow(clippy::or_fun_call)]
    98
        fn new_alias_git(
  • pnch 0.4.1/src/card.rs
    144
                    #[allow(clippy::or_fun_call)]
    145
                    acc.entry(key)
  • progitoor 0.1.0/src/metadata.rs
    68
    /// Serialise a FileEntry to a String
    69
    #[allow(clippy::or_fun_call)]
    70
    impl From<&FileEntry> for String {
  • quartz_nbt 0.2.6/src/snbt.rs
    610
                                            // The function call is cheap and will probably be inlined
    611
                                            #[allow(clippy::or_fun_call)]
    612
                                            let ch =
  • quickjs_runtime 0.8.7/src/features/console.rs
    77
    #[allow(clippy::or_fun_call)]
    78
    unsafe fn parse_field_value(ctx: *mut q::JSContext, field: &str, value: &JSValueRef) -> String {
    171
    #[allow(clippy::or_fun_call)]
    172
    unsafe fn parse_line(ctx: *mut q::JSContext, args: Vec<JSValueRef>) -> String {
  • rtop 0.1.4/src/rtop/datastreams/cpumonitor.rs
    36
                if let Some(entry) = self.cpu_core_info.last() {
    37
                    #[allow(clippy::or_fun_call)]
    38
                    let history = self.cpu_usage_history.entry(entry.0.clone()).or_insert(vec![0.0; self.max_history_len]);
  • rustbreak 2.0.0/src/backend/path.rs
    80
            #[allow(clippy::or_fun_call)] // `Path::new` is a zero cost conversion
    81
            let mut tempf = NamedTempFile::new_in(self.path.parent().unwrap_or(Path::new(".")))?;
  • rustus 0.5.10/src/protocol/core/get_info.rs
    29
        if file_info.is_final && file_info.parts.is_some() {
    30
            #[allow(clippy::or_fun_call)]
    31
            let parts = file_info
  • smartcore 0.3.0/src/svm/svc.rs
    426
            let idx_j = j.index;
    427
            #[allow(clippy::or_fun_call)]
    428
            let entry = self.data.entry((idx_i, idx_j)).or_insert(or_insert);
  • snarkvm-algorithms 0.9.11/src/polycommit/sonic_pc/data_structures.rs
    630
    #[allow(clippy::or_fun_call)]
    631
    impl<F: Field> LinearCombination<F> {
  • snarkvm-algorithms 0.9.11/src/polycommit/sonic_pc/mod.rs
    267
                    #[allow(clippy::or_fun_call)]
    268
                    let (comm, rand) = p
  • solana 0.18.0-pre1/src/bank_forks.rs
    124
        /// Create a map of bank slot id to the set of all of its descendants
    125
        #[allow(clippy::or_fun_call)]
    126
        pub fn descendants(&self) -> HashMap<u64, HashSet<u64>> {
  • suzy 0.2.0/src/selectable.rs
    256
                {
    257
                    #[allow(clippy::or_fun_call)]
    258
                    self.pressed
    281
                {
    282
                    #[allow(clippy::or_fun_call)]
    283
                    self.pressed
  • there 0.1.2/src/plan/host.rs
    37
        pub fn real_remote_user(&self) -> String {
    38
            #[allow(clippy::or_fun_call)]
    39
            self.remote_user.clone().unwrap_or("root".to_string())
  • thisctx_impl 0.2.0/src/expand.rs
    117
    impl<'a> Enum<'a> {
    118
        #[allow(clippy::or_fun_call)]
    119
        fn impl_variant(&self, variant: &Variant, tokens: &mut TokenStream) {
  • tokei 12.1.2/src/config.rs
    100
            #[allow(clippy::or_fun_call)]
    101
            Config {
  • vom_rs 0.3.0/src/pst.rs
    109
        /// Add a child node to a PST node.
    110
        #[allow(clippy::or_fun_call)]
    111
        fn get_or_insert_child(
  • vpncloud 2.3.0/src/oldconfig.rs
    63
    impl OldConfigFile {
    64
        #[allow(clippy::or_fun_call)]
    65
        pub fn convert(self) -> ConfigFile {
  • wasi-experimental-http 0.10.0/src/lib.rs
    282
            let mut parts = entry.splitn(2, ':');
    283
            #[allow(clippy::or_fun_call)]
    284
            let k = parts.next().ok_or(anyhow::format_err!(
  • wasi-experimental-http-wasmtime 0.10.0/src/lib.rs
    652
            let mut parts = entry.splitn(2, ':');
    653
            #[allow(clippy::or_fun_call)]
    654
            let k = parts.next().ok_or(anyhow::format_err!(
  • winping 0.10.1/src/async_pinger.rs
    453
                    sin6_addr: unsafe {
    454
                        #[allow(clippy::or_fun_call)] // Really clippy... it's a const fn...
    455
                        mem::transmute(src.unwrap_or(Ipv6Addr::new(0, 0, 0, 0, 0, 0, 0, 0)))
  • world-map-gen 0.1.1/src/gen.rs
    55
    #[inline]
    56
    #[allow(clippy::or_fun_call)]
    57
    fn board_size(width: Option<usize>, height: Option<usize>) -> Result<(usize, usize)> {
  • zenoh 0.7.0-rc/src/net/runtime/orchestrator.rs
    410
                Ok(()) => {
    411
                    #[allow(clippy::or_fun_call)]
    412
                    let local_addr = socket
  • zenoh-router 0.5.0-beta.7/src/runtime/orchestrator.rs
    354
                Ok(()) => {
    355
                    #[allow(clippy::or_fun_call)]
    356
                    let local_addr = socket
  • zhconv-cli 0.1.0/src/main.rs
    155
    #[allow(clippy::or_fun_call)]
    156
    fn tempfile_for(path: &Path) -> io::Result<NamedTempFile> {
  • ztop 0.2.1/src/main.rs
    198
    // https://github.com/rust-lang/rust-clippy/issues/7483
    199
    #[allow(clippy::or_fun_call)]
    200
    fn main() -> Result<(), Box<dyn Error>> {
  • cargo-pgx 0.7.0/src/main.rs
    9
    #![deny(clippy::perf)] // our compile times are awful
    10
    #![allow(clippy::or_fun_call)] // often false positives
  • cargo-rm 1.0.3/src/main.rs
    1
    #![allow(clippy::or_fun_call)]
  • cargo-unlock 1.0.6/src/main.rs
    1
    #![allow(clippy::or_fun_call)]
  • const_format_proc_macros 0.2.29/src/lib.rs
    1
    #![allow(clippy::or_fun_call)]
    2
    #![allow(clippy::derive_partial_eq_without_eq)]
  • constellation-internal 0.2.0-alpha.2/src/lib.rs
    13
    #![allow(
    14
    	clippy::or_fun_call,
    15
    	clippy::trivially_copy_pass_by_ref,
  • cxx 1.0.88/src/lib.rs
    391
        clippy::new_without_default,
    392
        clippy::or_fun_call,
    393
        clippy::ptr_arg,
  • cxx-build 1.0.88/src/lib.rs
    67
        clippy::option_if_let_else,
    68
        clippy::or_fun_call,
    69
        clippy::redundant_else,
  • cxx-gen 0.7.88/src/lib.rs
    28
        clippy::option_if_let_else,
    29
        clippy::or_fun_call,
    30
        clippy::redundant_else,
  • cxxbridge-cmd 1.0.88/src/main.rs
    18
        clippy::option_if_let_else,
    19
        clippy::or_fun_call,
    20
        clippy::redundant_else,
  • cxxbridge-macro 1.0.88/src/lib.rs
    17
        clippy::option_if_let_else,
    18
        clippy::or_fun_call,
    19
        clippy::redundant_else,
  • daml-json 0.2.2/src/schema_encoder.rs
    1
    #![allow(clippy::or_fun_call)]
  • decancer 1.5.3/src/lib.rs
    378
      clippy::transmute_int_to_char,
    379
      clippy::or_fun_call,
    380
      clippy::ptr_offset_with_cast,
  • derive-collect-docs 0.1.0/src/lib.rs
    1
    #![allow(clippy::expect_fun_call, clippy::or_fun_call)]
  • flussab 0.3.0/src/text.rs
    48
    {
    49
        #![allow(clippy::or_fun_call)]
    50
        let mut overflow = value.is_none();
    78
    {
    79
        #![allow(clippy::or_fun_call)]
    80
        let mut overflow = value.is_none();
    157
    {
    158
        #![allow(clippy::or_fun_call)]
    159
        if reader.buf_len() < offset + 8 {
    196
    {
    197
        #![allow(clippy::or_fun_call)]
    198
        if reader.buf_len() < offset + 8 {
  • juniper_codegen 0.15.9/src/util/parse_impl.rs
    1
    //! Parse impl blocks.
    2
    #![allow(clippy::or_fun_call)]
  • kas-text 0.6.0/src/display/glyph_pos.rs
    8
    #![allow(clippy::collapsible_else_if)]
    9
    #![allow(clippy::or_fun_call)]
    10
    #![allow(clippy::never_loop)]
  • konst_proc_macros 0.3.0/src/lib.rs
    1
    #![allow(clippy::or_fun_call)]
    2
    #![allow(clippy::useless_conversion)]
  • libawm 0.1.0/src/lib.rs
    129
    )]
    130
    #![allow(clippy::too_many_arguments, clippy::borrowed_box, clippy::or_fun_call)]
    131
    #![doc(
  • mdblog 0.21.0/src/lib.rs
    11
    #![allow(clippy::expect_fun_call)]
    12
    #![allow(clippy::or_fun_call)]
  • mesdoc 0.2.1/src/rules/attr.rs
    1
    #![allow(clippy::or_fun_call)]
  • mica 0.7.1/src/lib.rs
    1
    #![allow(clippy::or_fun_call)]
    2
    #![warn(missing_docs, missing_debug_implementations, unreachable_pub)]
  • mica-hl 0.5.0/src/lib.rs
    5
    #![allow(clippy::or_fun_call)]
  • mica-language 0.5.0/src/lib.rs
    5
    #![allow(clippy::or_fun_call)]
  • mica-std 0.5.0/src/lib.rs
    3
    #![allow(clippy::or_fun_call)]
  • morpho 0.18.3/src/lib.rs
    10
    #![allow(clippy::expect_fun_call)]
    11
    #![allow(clippy::or_fun_call)]
  • otter-nodejs-tests 1.2.1/jst-lower.rs
    7
    #![allow(clippy::or_fun_call)]
    8
    #![allow(clippy::unnecessary_operation)] // trips on #[throws(Explode)]
  • otter-nodejs-tests 1.2.1/jstest.rs
    11
    #![allow(clippy::or_fun_call)]
    12
    #![allow(clippy::unnecessary_operation)] // trips on #[throws(Explode)]
  • otter-support 1.2.1/slotmap-slot-idx.rs
    5
    #![allow(clippy::or_fun_call)]
  • otter-webdriver-tests 1.2.1/wdriver.rs
    11
    #![allow(clippy::or_fun_call)]
    12
    #![allow(clippy::unnecessary_operation)] // trips on #[throws(Explode)]
  • qcheck 1.0.0/src/arbitrary.rs
    1
    #![allow(clippy::new_ret_no_self)]
    2
    #![allow(clippy::or_fun_call)]
    3
    use std::char;
  • quickcheck2 2.0.0/src/arbitrary.rs
    1
    #![allow(clippy::new_ret_no_self)]
    2
    #![allow(clippy::or_fun_call)]
    3
    use std::char;
  • redoxfs 0.5.3/src/lib.rs
    4
    // Used often in generating redox_syscall errors
    5
    #![allow(clippy::or_fun_call)]
  • rslint_lexer 0.2.0/src/lib.rs
    16
    #![allow(clippy::or_fun_call)]
  • rumatui 0.1.13-alpha/src/main.rs
    1
    #![allow(dead_code)]
    2
    #![allow(clippy::single_component_path_imports, clippy::or_fun_call, clippy::single_match)]
  • rx-editor 0.3.0/src/lib.rs
    9
        clippy::type_complexity,
    10
        clippy::or_fun_call,
    11
        clippy::nonminimal_bool,
  • spl-token-bonding 3.2.5/src/lib.rs
    1
    #![allow(clippy::or_fun_call)]
  • tracing-loki 0.2.1/src/lib.rs
    41
    #![allow(clippy::or_fun_call)]
    42
    #![allow(clippy::type_complexity)]
  • tstr_proc_macros 0.2.2/src/lib.rs
    1
    #![allow(clippy::or_fun_call)]
    2
    #![allow(clippy::useless_conversion)]
  • uapi 0.2.10/src/lib.rs
    2
    #![allow(
    3
        clippy::or_fun_call,
    4
        clippy::manual_non_exhaustive,
  • ux-dx 0.2.1/src/lib.rs
    51
        clippy::module_inception,
    52
        clippy::or_fun_call,
    53
        clippy::map_entry,
  • vach 0.4.5/src/lib.rs
    1
    #![cfg_attr(docsrs, feature(doc_cfg))]
    2
    #![allow(clippy::or_fun_call)]
    3
    #![allow(clippy::manual_map)]
  • visdom 0.5.9/src/mesdoc/rules/attr.rs
    1
    #![allow(clippy::or_fun_call)]
  • worker-plus 0.0.15/src/lib.rs
    1
    #![allow(clippy::new_without_default)]
    2
    #![allow(clippy::or_fun_call)]
  • xi-core-lib 0.3.0/src/lib.rs
    26
        clippy::new_without_default,
    27
        clippy::or_fun_call,
    28
        clippy::ptr_arg,
  • xi-rpc 0.3.0/src/lib.rs
    23
    //! the `"jsonrpc"` member is omitted from request and response objects.
    24
    #![allow(clippy::boxed_local, clippy::or_fun_call)]