• bandwhich 0.20.0/src/display/components/header_details.rs
    26
    impl<'a> HeaderDetails<'a> {
    27
        #[allow(clippy::int_plus_one)]
    28
        pub fn render(&self, frame: &mut Frame<impl Backend>, rect: Rect) {
  • ckb-chain 0.107.0/src/tests/cell.rs
    22
    #[allow(clippy::int_plus_one)]
    23
    pub(crate) fn create_cellbase(
  • ckb-chain 0.107.0/src/tests/non_contextual_block_txs_verify.rs
    24
    #[allow(clippy::int_plus_one)]
    25
    pub(crate) fn create_cellbase(
  • ckb-chain 0.107.0/src/tests/reward.rs
    28
    #[allow(clippy::int_plus_one)]
    29
    pub(crate) fn create_cellbase(
  • ckb-chain 0.107.0/src/tests/util.rs
    176
    #[allow(clippy::int_plus_one)]
    177
    pub(crate) fn create_cellbase(
  • ckb-verification-contextual 0.107.0/src/contextual_block_verifier.rs
    234
        #[allow(clippy::int_plus_one)]
    235
        pub fn verify(&self) -> Result<(), Error> {
  • fluent-comparisons 0.3.1/src/tests/none_of_with_map.rs
    64
    #[allow(clippy::nonminimal_bool)]
    65
    #[allow(clippy::int_plus_one)]
    66
    fn test_random_collection_of_values_behave_correctly() {
  • hexagonal_pathfinding_astar 1.0.0/src/helpers.rs
    702
    /// Will have a `count_rings_from_origin` of 1 preventing returning non existent nodes.
    703
    #[allow(clippy::int_plus_one)]
    704
    pub fn node_neighbours_cubic(
  • ip2location-bin-format 0.4.0/src/content/querier.rs
    201
                            #[allow(clippy::int_plus_one)]
    202
                            if (len as usize) <= n_read - 1 {
  • oskr 1.0.0-rc.5/src/protocol/pbft/replica.rs
    126
        // committed-local, actually
    127
        #[allow(clippy::int_plus_one)] // I want to follow PBFT paper, preceisely
    128
        fn committed(&self, op_number: OpNumber) -> bool {
  • prometheus-parser 0.4.2/src/parser.rs
    54
    #[allow(clippy::int_plus_one)]
    55
    #[pest_consume::parser]
  • protozero 0.1.7/src/encoding.rs
    17
    #[allow(clippy::int_plus_one)]
    18
    fn read_varint_loop(buf: &[u8]) -> Result<(&[u8], u64), Error> {
  • r3_portkit 0.2.3/src/tickless.rs
    109
        /// Construct a `TicklessCfg`.
    110
        #[allow(clippy::int_plus_one)] // for consistency
    111
        pub const fn new(
  • rdcl_aoc_helpers 0.10.0/src/args.rs
    15
    /// arguments present.
    16
    #[allow(clippy::int_plus_one)]
    17
    pub fn get_args_repeating(required_args: &[&str], error_exit_code: i32) -> Vec<String> {
  • rustix 0.36.7/src/path/arg.rs
    934
    /// Runs a closure with `bytes` passed in as a `&CStr`.
    935
    #[allow(unsafe_code, clippy::int_plus_one)]
    936
    #[inline]
  • ryu-js 0.2.2/tests/d2s_test.rs
    25
        clippy::float_cmp,
    26
        clippy::int_plus_one,
    27
        clippy::non_ascii_literal,
    41
    #[allow(clippy::int_plus_one)]
    42
    fn ieee_parts_to_double(sign: bool, ieee_exponent: u32, ieee_mantissa: u64) -> f64 {
  • soco 1.0.1/src/algorithms/online/multi_dimensional/lazy_budgeting/smoothed_load_optimization.rs
    187
        for (k, lane) in lanes.iter_mut().enumerate() {
    188
            #[allow(clippy::int_plus_one)]
    189
            if k as i32 + 1 <= active_lanes(x, 1, d) {
    190
                for j in 1..=d {
    191
                    #[allow(clippy::int_plus_one)]
    192
                    if active_lanes(x, j, d) >= k as i32 + 1 {
  • css-color 0.2.5/src/lib.rs
    1
    #![allow(clippy::get_first)]
    2
    #![allow(clippy::int_plus_one)]
    3
    #![allow(clippy::len_zero)]
  • dnssector 0.2.12/src/lib.rs
    7
    #![allow(clippy::comparison_chain)]
    8
    #![allow(clippy::int_plus_one)]
    9
    #![allow(clippy::string_lit_as_bytes)]
  • dragonbox 0.1.4/tests/binary64_test.rs
    24
        clippy::float_cmp,
    25
        clippy::int_plus_one,
    26
        clippy::non_ascii_literal,
  • fluent-comparisons 0.3.1/src/tests/all_of.rs
    1
    #![allow(clippy::int_plus_one)]
    2
    #![allow(clippy::many_single_char_names)]
  • fluent-comparisons 0.3.1/src/tests/all_of_with_map.rs
    1
    #![allow(clippy::int_plus_one)]
    2
    #![allow(clippy::many_single_char_names)]
  • fluent-comparisons 0.3.1/src/tests/any_of.rs
    1
    #![allow(clippy::int_plus_one)]
    2
    #![allow(clippy::many_single_char_names)]
  • fluent-comparisons 0.3.1/src/tests/any_of_with_map.rs
    1
    #![allow(clippy::int_plus_one)]
    2
    #![allow(clippy::many_single_char_names)]
  • halo2-core 0.1.0-beta.2/src/plonk/keygen.rs
    1
    #![allow(clippy::int_plus_one)]
  • halo2_proofs 0.2.0/src/plonk/keygen.rs
    1
    #![allow(clippy::int_plus_one)]
  • libm 0.2.6/src/lib.rs
    7
    #![allow(clippy::needless_return)]
    8
    #![allow(clippy::int_plus_one)]
    9
    #![allow(clippy::deprecated_cfg_attr)]
  • plonky2 0.1.1/src/recursion/cyclic_recursion.rs
    1
    #![allow(clippy::int_plus_one)] // Makes more sense for some inequalities below.
  • ryu 1.0.12/tests/d2s_test.rs
    24
        clippy::float_cmp,
    25
        clippy::int_plus_one,
    26
        clippy::non_ascii_literal,