• acceptxmr 0.11.1/src/payment_gateway.rs
    86
        ///   thread.
    87
        #[allow(clippy::range_plus_one, clippy::missing_panics_doc)]
    88
        pub async fn run(&self) -> Result<(), AcceptXmrError> {
  • aptos-types 0.2.7/src/proof/unit_tests/proof_test.rs
    123
    #[test]
    124
    #[allow(clippy::range_plus_one)]
    125
    fn test_accumulator_proof_sibling_overflow() {
  • arithmetic-parser 0.3.0/src/parser/mod.rs
    422
    #[allow(clippy::option_if_let_else, clippy::range_plus_one)]
    423
    // ^-- See explanations in the function code.
  • arn-language 1.2.1/src/parser.rs
    384
                #[allow(clippy::range_plus_one)]
    385
                let range = if op == ".." {
  • badder_lang 0.1.1/src/parser.rs
    378
        #[inline]
    379
        #[allow(clippy::range_plus_one)]
    380
        fn from((token, scope): (Token, usize)) -> Self {
  • beatrice 0.3.2/src/head.rs
    78
            #[allow(clippy::assign_op_pattern)]
    79
            #[allow(clippy::range_plus_one)]
    80
            let matcher: Matcher3<_> =
    124
            //  content (obs-text) as opaque data."
    125
            #[allow(clippy::range_plus_one)]
    126
            #[allow(clippy::assign_op_pattern)]
  • beatrice 0.3.2/tests/test_util.rs
    84
            #[allow(clippy::assign_op_pattern)]
    85
            #[allow(clippy::range_plus_one)]
    86
            let content_length_matcher: Matcher1<_> =
  • binrw_derive 0.10.0/src/backtrace/syntax_highlighting.rs
    155
            // Lint: Makes code less clear.
    156
            #[allow(clippy::range_plus_one)]
    157
            line.highlights
  • build-data 0.1.3/src/lib.rs
    383
    /// Panics if the process writes non-UTF bytes to stdout.
    384
    #[allow(clippy::if_not_else, clippy::range_plus_one, clippy::assign_op_pattern)]
    385
    pub fn parse_rustc_version(version: impl AsRef<str>) -> Result<(String, RustChannel), String> {
  • cart-tmp-wgc 0.1.0/src/command/transfer.rs
    65
            // `hal::image::SubresourceRange` in gfx to use `std::ops::RangeBounds`.
    66
            #[allow(clippy::range_plus_one)]
    67
            (
  • cart-tmp-wgc 0.1.0/src/track/texture.rs
    106
                    // `std::ops::RangeBounds`.
    107
                    #[allow(clippy::range_plus_one)]
    108
                    let pending = PendingTransition {
    224
                                // `std::ops::RangeBounds`.
    225
                                #[allow(clippy::range_plus_one)]
    226
                                let pending = PendingTransition {
  • casper-types 1.5.0/src/uint.rs
    31
        clippy::manual_range_contains,
    32
        clippy::range_plus_one,
    33
        clippy::transmute_ptr_to_ptr,
  • casperlabs-contract-ffi 0.22.0/src/value/uint.rs
    9
        clippy::ptr_offset_with_cast,
    10
        clippy::range_plus_one,
    11
        clippy::transmute_ptr_to_ptr
  • casperlabs-types 0.6.1/src/uint.rs
    10
        clippy::ptr_offset_with_cast,
    11
        clippy::range_plus_one,
    12
        clippy::transmute_ptr_to_ptr
  • centoria 0.1.1/src/argparse.rs
    92
                is_required: !optional,
    93
                #[allow(clippy::range_plus_one)]
    94
                range: (index..(index + 1)),
  • cfg-expr 0.14.0/src/expr/lexer.rs
    136
                        // a Range here, not a RangeInclusive<>
    137
                        #[allow(clippy::range_plus_one)]
    138
                        Some(Err(ParseError {
  • diem-types 0.0.3/src/proof/unit_tests/proof_test.rs
    133
    #[test]
    134
    #[allow(clippy::range_plus_one)]
    135
    fn test_accumulator_proof_sibling_overflow() {
  • flacenc 0.1.0/src/lpc.rs
    467
        #[allow(clippy::range_plus_one)]
    468
        pub fn weighted_lpc_from_auto_corr<F>(
  • flatk 0.5.2/src/lib.rs
    918
        #[allow(clippy::range_plus_one)]
    919
        #[inline]
    1016
        #[allow(clippy::range_plus_one)]
    1017
        #[inline]
    1020
        }
    1021
        #[allow(clippy::range_plus_one)]
    1022
        #[inline]
  • mileage 0.1.0/src/range/iter.rs
    115
        fn len(&self) -> usize {
    116
            #[allow(clippy::range_plus_one)] // for ExactSizeIterator impl
    117
            let len = (self.low as u32..self.high as u32 + 1).len() as u32;
  • mockall 0.11.3/src/lib.rs
    1542
        // https://github.com/rust-lang/rust-clippy/issues/3307
    1543
        #[allow(clippy::range_plus_one)]
    1544
        pub fn n(&mut self, n: usize) {
  • noak 0.5.0/src/mutf8.rs
    125
            } else {
    126
                #[allow(clippy::range_plus_one)]
    127
                &self[*index.start()..*index.end() + 1]
    153
            } else {
    154
                #[allow(clippy::range_plus_one)]
    155
                &self[..index.end + 1]
  • orion 0.17.3/src/hazardous/aead/streaming.rs
    344
        #[allow(clippy::range_plus_one)]
    345
        #[must_use = "SECURITY WARNING: Ignoring a Result can have real security implications."]
  • plotchart 0.2.12/src/coord/ranged.rs
    22
        /// This function provides the on-axis part of its range
    23
        #[allow(clippy::range_plus_one)]
    24
        fn axis_pixel_range(&self, limit: (i32, i32)) -> Range<i32> {
  • plotters 0.3.4/src/coord/ranged1d/mod.rs
    210
        /// This function provides the on-axis part of its range
    211
        #[allow(clippy::range_plus_one)]
    212
        fn axis_pixel_range(&self, limit: (i32, i32)) -> Range<i32> {
  • plotters-unstable 0.2.1/src/coord/ranged1d/mod.rs
    204
        /// This function provides the on-axis part of its range
    205
        #[allow(clippy::range_plus_one)]
    206
        fn axis_pixel_range(&self, limit: (i32, i32)) -> Range<i32> {
  • quinn-proto 0.9.2/src/frame.rs
    878
        #[test]
    879
        #[allow(clippy::range_plus_one)]
    880
        fn ack_coding() {
  • rate-common 0.3.0/src/memory/vector.rs
    256
        type Output = [T];
    257
        #[allow(clippy::range_plus_one)]
    258
        fn index(&self, index: Range<usize>) -> &Self::Output {
    272
    impl<T> IndexMut<Range<usize>> for Vector<T> {
    273
        #[allow(clippy::range_plus_one)]
    274
        fn index_mut(&mut self, index: Range<usize>) -> &mut Self::Output {
  • ring 0.17.0-alpha.11/tests/aead_tests.rs
    367
    #[allow(clippy::range_plus_one)]
    368
    fn key_sizes(aead_alg: &'static aead::Algorithm) {
    394
    // Test that we reject non-standard nonce sizes.
    395
    #[allow(clippy::range_plus_one)]
    396
    #[test]
    411
    #[allow(clippy::range_plus_one)]
    412
    #[test]
  • ring 0.17.0-alpha.11/tests/quic_tests.rs
    49
    #[allow(clippy::range_plus_one)]
    50
    fn test_sample_len(alg: &'static quic::Algorithm) {
  • roaring 0.10.1/tests/lib.rs
    48
    #[test]
    49
    #[allow(clippy::range_plus_one)] // remove_range needs an exclusive range
    50
    fn remove_range_array() {
    71
    #[test]
    72
    #[allow(clippy::range_plus_one)] // remove_range needs an exclusive range
    73
    fn remove_range_bitmap() {
  • rslint_regex 0.3.0/src/lib.rs
    9
    mod ir;
    10
    #[allow(clippy::range_plus_one)]
    11
    mod parser;
  • rustpython-vm 0.1.2/src/obj/objbyteinner.rs
    434
                if range.start < range.end {
    435
                    #[allow(clippy::range_plus_one)]
    436
                    match step.to_i32() {
  • rustpython-vm 0.1.2/src/obj/objlist.rs
    265
                            // then step is bigger than the than len of the list, no question
    266
                            #[allow(clippy::range_plus_one)]
    267
                            PyList::_set_stepped_slice(
    616
                if range.start < range.end {
    617
                    #[allow(clippy::range_plus_one)]
    618
                    match step.to_isize() {
  • rustpython-vm 0.1.2/src/obj/objsequence.rs
    53
                if range.start < range.end {
    54
                    #[allow(clippy::range_plus_one)]
    55
                    match step.to_i32() {
  • safe-regex-compiler 0.2.5/tests/nfa_with_broken_capturing.rs
    204
                );
    205
                #[allow(clippy::range_plus_one)]
    206
                prev_matching_range.extend(&(n..n + 1))
    252
            );
    253
            #[allow(clippy::range_plus_one)]
    254
            prev_matching_range.extend(&(n..n + 1))
    302
                );
    303
                #[allow(clippy::range_plus_one)]
    304
                prev_matching_range.extend(&(n..n + 1))
  • sarek 0.1.0/src/core/into_range.rs
    19
    impl IntoRange for usize {
    20
        #[allow(clippy::range_plus_one)]
    21
        fn into_range( self, _: usize ) -> Range< usize > {
    46
    impl IntoRange for RangeInclusive< usize > {
    47
        #[allow(clippy::range_plus_one)]
    48
        fn into_range( self, _: usize ) -> Range< usize > {
    60
    impl IntoRange for RangeToInclusive< usize > {
    61
        #[allow(clippy::range_plus_one)]
    62
        fn into_range( self, _: usize ) -> Range< usize > {
  • servlin 0.1.1/src/head.rs
    78
            #[allow(clippy::assign_op_pattern)]
    79
            #[allow(clippy::range_plus_one)]
    80
            let matcher: Matcher3<_> =
    124
            //  content (obs-text) as opaque data."
    125
            #[allow(clippy::range_plus_one)]
    126
            #[allow(clippy::assign_op_pattern)]
  • servlin 0.1.1/tests/test_util.rs
    84
            #[allow(clippy::assign_op_pattern)]
    85
            #[allow(clippy::range_plus_one)]
    86
            let content_length_matcher: Matcher1<_> =
  • skiplist 0.4.0/src/ordered_skiplist.rs
    1392
                let mut values = sl.range(min, max);
    1393
                #[allow(clippy::range_plus_one)]
    1394
                let mut expects = match (min, max) {
  • skiplist 0.4.0/src/skiplist.rs
    1116
                let mut values = sl.range(min, max);
    1117
                #[allow(clippy::range_plus_one)]
    1118
                let mut expects = match (min, max) {
    1156
                let mut values = sl.range(min, max);
    1157
                #[allow(clippy::range_plus_one)]
    1158
                let mut expects = match (min, max) {
  • skiplist 0.4.0/src/skipmap.rs
    1352
                let mut values = sm.range(min, max);
    1353
                #[allow(clippy::range_plus_one)]
    1354
                let mut expects = match (min, max) {
  • slpm-file 0.1.3/src/header_binary_v0.rs
    83
    		#[allow(clippy::range_plus_one)] // DATATYPE_SIZE equals 1 where Clippy wants to use an inclusive range
    84
    		let datatype = <[u8; DATATYPE_SIZE]>::try_from(&bytes[position..position + DATATYPE_SIZE]).unwrap();
  • solana_libra_types 0.0.1-sol5/src/proof/unit_tests/proof_test.rs
    139
    #[test]
    140
    #[allow(clippy::range_plus_one)]
    141
    fn test_accumulator_proof_sibling_overflow() {
  • termusic 0.7.8/src/player/rusty_backend/mod.rs
    20
        clippy::explicit_iter_loop,
    21
        clippy::range_plus_one,
    22
        clippy::default_trait_access,
  • wmidi 4.0.6/src/midi_message.rs
    169
        /// returned. This should be the same number obtained from `self.bytes_size()`.
    170
        #[allow(clippy::range_plus_one)]
    171
        pub fn copy_to_slice(&self, slice: &mut [u8]) -> Result<usize, ToSliceError> {
  • argmin_core 0.2.5/src/lib.rs
    14
    // I really do not like the a..=b syntax
    15
    #![allow(clippy::range_plus_one)]
  • boreal-parser 0.1.0/src/lib.rs
    29
    #![allow(clippy::module_name_repetitions)]
    30
    #![allow(clippy::range_plus_one)]
    31
    #![allow(clippy::too_many_lines)]
  • btle 0.1.4/src/lib.rs
    10
        clippy::missing_errors_doc,
    11
        clippy::range_plus_one,
    12
        clippy::type_complexity,
  • dedup-advanced 1.2.0/src/recognise.rs
    1
    #![warn(clippy::all)]
    2
    #![allow(clippy::range_plus_one, clippy::many_single_char_names, clippy::too_many_arguments, clippy::cast_lossless, unused_variables)]
  • displaythis-impl 1.0.23/src/lib.rs
    1
    #![allow(clippy::blocks_in_if_conditions, clippy::range_plus_one)]
  • dtoa 1.0.5/src/lib.rs
    43
        clippy::must_use_candidate,
    44
        clippy::range_plus_one,
    45
        clippy::semicolon_if_nothing_returned, // https://github.com/rust-lang/rust-clippy/issues/7768
  • easyfft 0.3.5/src/lib.rs
    13
    // The pattern `SIZE / 2 + 1` is common in this code. Removing the trailing `+ 1` is confusing.
    14
    #![allow(clippy::range_plus_one)]
  • exonum-merkledb 1.0.0/src/indexes/proof_map/key.rs
    20
    #![allow(clippy::range_plus_one)]
  • fuel-pest_meta 3.0.4/src/lib.rs
    10
    #![allow(clippy::range_plus_one)]
  • imageproc 0.23.0/src/lib.rs
    18
        clippy::needless_doctest_main,
    19
        clippy::range_plus_one,
    20
        clippy::trivially_copy_pass_by_ref,
  • imageproc-patched 0.22.0-unofficial.1-foresterre/src/lib.rs
    18
        clippy::needless_doctest_main,
    19
        clippy::range_plus_one,
    20
        clippy::trivially_copy_pass_by_ref,
  • lrpar 0.13.1/src/lib/mod.rs
    4
    #![allow(clippy::new_without_default)]
    5
    #![allow(clippy::range_plus_one)]
    6
    #![allow(clippy::too_many_arguments)]
  • malachite-nz 0.3.2/src/lib.rs
    112
        clippy::many_single_char_names,
    113
        clippy::range_plus_one,
    114
        clippy::suspicious_arithmetic_impl,
  • malachite-nz 0.3.2/tests/lib.rs
    7
        clippy::many_single_char_names,
    8
        clippy::range_plus_one,
    9
        clippy::suspicious_arithmetic_impl,
  • malachite-q 0.3.2/src/lib.rs
    64
        clippy::many_single_char_names,
    65
        clippy::range_plus_one,
    66
        clippy::suspicious_arithmetic_impl,
  • malachite-q 0.3.2/tests/lib.rs
    7
        clippy::many_single_char_names,
    8
        clippy::range_plus_one,
    9
        clippy::suspicious_arithmetic_impl,
  • modcholesky 0.1.4/src/lib.rs
    93
    // I really do not like the a..=b syntax
    94
    #![allow(clippy::range_plus_one)]
    95
    // allow single-character names
  • pest_meta_tmp 2.1.1/src/lib.rs
    10
    #![allow(clippy::range_plus_one)]
  • posixmq 1.0.0/posixmq.rs
    227
    #![allow(clippy::needless_return, clippy::redundant_closure, clippy::needless_lifetimes)] // style
    228
    #![allow(clippy::range_plus_one)] // edge case: I think 1..x+1 is clearer than 1..=x
    229
    #![allow(clippy::cast_lossless)] // improves portability when values are limited by the OS anyway
  • pyxel-core 1.9.11/src/lib.rs
    16
        clippy::needless_pass_by_value,
    17
        clippy::range_plus_one,
    18
        clippy::redundant_closure,
  • pyxel-engine 1.8.2/src/lib.rs
    13
        clippy::needless_pass_by_value,
    14
        clippy::range_plus_one,
    15
        clippy::redundant_closure,
  • reui 0.0.2/src/lib.rs
    3
        clippy::must_use_candidate,
    4
        clippy::range_plus_one,
    5
        clippy::module_name_repetitions,
  • thiserror-core-impl 1.0.37/src/lib.rs
    9
        clippy::option_if_let_else,
    10
        clippy::range_plus_one,
    11
        clippy::single_match_else,
  • thiserror_core2-impl 2.0.0/src/lib.rs
    8
        clippy::option_if_let_else,
    9
        clippy::range_plus_one,
    10
        clippy::single_match_else,
  • thiserror-impl 1.0.38/src/lib.rs
    9
        clippy::option_if_let_else,
    10
        clippy::range_plus_one,
    11
        clippy::single_match_else,
  • thiserror-impl-no-std 2.0.2/src/lib.rs
    8
        clippy::option_if_let_else,
    9
        clippy::range_plus_one,
    10
        clippy::single_match_else,
  • trybuild 1.0.77/src/lib.rs
    224
        clippy::non_ascii_literal,
    225
        clippy::range_plus_one,
    226
        clippy::similar_names,
  • trybuild2 1.0.0/src/lib.rs
    235
        clippy::non_ascii_literal,
    236
        clippy::range_plus_one,
    237
        clippy::single_match_else,
  • xi-core-lib 0.3.0/src/view.rs
    13
    // limitations under the License.
    14
    #![allow(clippy::range_plus_one)]