• bravely 0.1.0/src/lib.rs
    141
                #[allow(clippy::question_mark)]
    142
                // We could use the `?` operator, but that would be more cryptic
  • broot 1.18.0/src/app/selection.rs
    146
                        .extension().and_then(|e| e.to_str());
    147
                    #[allow(clippy::question_mark)]
    148
                    if common_extension.is_none() {
  • bunyan_view 0.3.3/src/date_deserializer.rs
    13
        let deserialize_result = Deserialize::deserialize(deserializer);
    14
        #[allow(clippy::question_mark)]
    15
        if let Err(err) = deserialize_result {
  • canyon_crud 0.1.0/src/crud.rs
    20
    #[async_trait]
    21
    #[allow(clippy::question_mark)]
    22
    pub trait Transaction<T> {
  • canyon_crud 0.1.0/src/query_elements/query_builder.rs
    165
        /// by the selected datasource
    166
        #[allow(clippy::question_mark)]
    167
        pub async fn query(
  • cardpack 0.4.14/src/cards/decks/standard52.rs
    90
        /// Should not be possible.
    91
        #[allow(clippy::question_mark)]
    92
        pub fn pile_from_index_validated(card_str: &'static str) -> Result<Pile, DeckError> {
  • domain 0.7.1/src/master/scan.rs
    492
        #[allow(clippy::question_mark)]
    493
        pub fn scan_hex_words<U, G>(&mut self, finalop: G) -> Result<U, ScanError>
    552
        /// Scans a sequence of phrases containing base64 encoded data.
    553
        #[allow(clippy::question_mark)]
    554
        pub fn scan_base64_phrases<U, G>(
  • domain 0.7.1/src/utils/base32.rs
    253
        /// Finalizes decoding and returns the decoded data.
    254
        #[allow(clippy::question_mark)] // false positive
    255
        pub fn finalize(mut self) -> Result<Builder::Octets, DecodeError> {
  • fastfield_codecs 0.3.1/src/linear.rs
    122
        /// the offset to shift all values to >=0 is also unknown.
    123
        #[allow(clippy::question_mark)]
    124
        fn estimate(column: &dyn Column) -> Option<f32> {
  • glv 3.0.5/src/history_adapter.rs
    567
                    // https://github.com/rust-lang/rust-clippy/issues/8269
    568
                    #[allow(clippy::question_mark)]
    569
                    if rx.send(SearchProgress::Searched(seen)).is_err() {
  • graphrs 0.7.0/src/graph/creation.rs
    176
        */
    177
        #[allow(clippy::question_mark)]
    178
        pub fn add_edges(&mut self, edges: Vec<Edge<T, A>>) -> Result<(), Error>
    213
        */
    214
        #[allow(clippy::question_mark)]
    215
        pub fn add_edge_tuples(&mut self, edges: Vec<(T, T)>) -> Result<(), Error>
  • gxi-transpiler 0.6.1/src/node/block.rs
    102
            }
    103
            #[allow(clippy::question_mark)]
    104
            let mut path = if let Ok(path) = input.parse::<syn::Path>() {
  • jito-core 0.1.0/src/fetch_stage.rs
    84
            for packet_batch in packet_batches {
    85
                #[allow(clippy::question_mark)]
    86
                if sendr.send(packet_batch).is_err() {
  • jito-relayer-core 0.1.0/src/fetch_stage.rs
    84
            for packet_batch in packet_batches {
    85
                #[allow(clippy::question_mark)]
    86
                if sendr.send(packet_batch).is_err() {
  • jupiter 3.0.0/src/commands.rs
    296
        /// prevent any further inconsistencies.
    297
        #[allow(clippy::question_mark)] // These are currently false positives...
    298
        pub fn complete(mut self, result: CommandResult) {
  • k 0.29.1/src/iterator.rs
    44
        type Item = Node<T>;
    45
        #[allow(clippy::question_mark)]
    46
        fn next(&mut self) -> Option<Node<T>> {
  • maikor-vm-interface 0.1.10/src/sound.rs
    43
            }
    44
            #[allow(clippy::question_mark)] //very weird syntax
    45
            if supported_config.is_none() {
  • matrix-sdk-crypto 0.6.0/src/verification/machine.rs
    309
            #[allow(clippy::question_mark)]
    310
            let flow_id = if let Ok(flow_id) = FlowId::try_from(&event) {
  • medusa-proto 0.9.0/src/frame.rs
    105
        /// ```
    106
        #[allow(clippy::question_mark)]
    107
        pub const fn try_new(start: usize, length: u16) -> Option<Span> {
  • packed-encoder 0.1.1/src/decoder.rs
    167
    #[allow(clippy::question_mark)]
    168
    /// `decode_packed` function decoded a given byte-array into list of required values specified in `types` parameter.
  • patract-wasmi 0.9.1/examples/tictactoe.rs
    107
                // Returns Some(player) if all cells contain same Player.
    108
                #[allow(clippy::question_mark)]
    109
                let all_same = |i1: usize, i2: usize, i3: usize| -> Option<Player> {
  • plotters-backend 0.3.4/src/lib.rs
    176
                        let result = self.draw_line(begin, end, style);
    177
                        #[allow(clippy::question_mark)]
    178
                        if result.is_err() {
    318
                    let result = self.draw_pixel((pos.0 + dx as i32, pos.1 + dy as i32), color);
    319
                    #[allow(clippy::question_mark)]
    320
                    if result.is_err() {
  • poise 0.5.2/src/track_edits.rs
    107
                    // edited their message
    108
                    #[allow(clippy::question_mark)]
    109
                    if user_msg_update.content.is_none() {
  • readable-readability 0.4.0/src/lib.rs
    734
            #[allow(clippy::question_mark)]
    735
            if parent_elem.is_none() {
  • routinator 0.12.1/src/utils/date.rs
    82
    /// If it cannot parse the date, it simply returns `None`.
    83
    #[allow(clippy::question_mark)] // False positive.
    84
    pub fn parse_http_date(date: &str) -> Option<DateTime<Utc>> {
  • sallyport 0.6.3/src/item/block.rs
    17
        /// and therefore this is merely a hint and not a precise calculation.
    18
        #[allow(clippy::question_mark)] // `?` is not supported in `const` functions.
    19
        pub const fn size_hint(item_count: usize, data_size: usize) -> Option<usize> {
  • sea-orm 0.10.7/src/entity/active_model.rs
    108
        /// Get the primary key of the ActiveModel
    109
        #[allow(clippy::question_mark)]
    110
        fn get_primary_key_value(&self) -> Option<ValueTuple> {
  • skiplist 0.4.0/src/skipnode.rs
    1139
        fn next_back(&mut self) -> Option<T> {
    1140
            #[allow(clippy::question_mark)]
    1141
            if self.first.is_none() {
  • solana-core 1.14.13/src/fetch_stage.rs
    131
                for packet_batch in packet_batches {
    132
                    #[allow(clippy::question_mark)]
    133
                    if sendr.send(packet_batch).is_err() {
  • solana-rpc 1.14.13/src/rpc.rs
    2206
    ) -> Result<()> {
    2207
        #[allow(clippy::question_mark)]
    2208
        if transaction.verify().is_err() {
  • summavy_codecs 0.2.4/src/linear.rs
    122
        /// the offset to shift all values to >=0 is also unknown.
    123
        #[allow(clippy::question_mark)]
    124
        fn estimate(column: &dyn Column) -> Option<f32> {
  • summavy_fastfield_codecs 0.3.1/src/linear.rs
    121
        /// the offset to shift all values to >=0 is also unknown.
    122
        #[allow(clippy::question_mark)]
    123
        fn estimate(column: &dyn Column) -> Option<f32> {
  • termusic 0.7.8/src/player/rusty_backend/queue.rs
    185
    #[allow(clippy::question_mark)]
    186
    impl<S> Iterator for SourcesQueueOutput<S>
  • twilight-http 0.15.0-rc.1/src/request/channel/invite/create_invite.rs
    120
        pub const fn max_age(mut self, max_age: u32) -> Result<Self, ValidationError> {
    121
            #[allow(clippy::question_mark)]
    122
            if let Err(source) = validate_invite_max_age(max_age) {
    163
        pub const fn max_uses(mut self, max_uses: u16) -> Result<Self, ValidationError> {
    164
            #[allow(clippy::question_mark)]
    165
            if let Err(source) = validate_invite_max_uses(max_uses) {
  • twilight-http 0.15.0-rc.1/src/request/channel/message/get_channel_messages.rs
    117
        pub const fn limit(mut self, limit: u16) -> Result<Self, ValidationError> {
    118
            #[allow(clippy::question_mark)]
    119
            if let Err(source) = validate_get_channel_messages_limit(limit) {
  • twilight-http 0.15.0-rc.1/src/request/channel/message/get_channel_messages_configured.rs
    70
        pub const fn limit(mut self, limit: u16) -> Result<Self, ValidationError> {
    71
            #[allow(clippy::question_mark)]
    72
            if let Err(source) = validate_get_channel_messages_limit(limit) {
  • twilight-http 0.15.0-rc.1/src/request/channel/reaction/get_reactions.rs
    76
        pub const fn limit(mut self, limit: u16) -> Result<Self, ValidationError> {
    77
            #[allow(clippy::question_mark)]
    78
            if let Err(source) = validate_get_reactions_limit(limit) {
  • twilight-http 0.15.0-rc.1/src/request/channel/thread/update_thread.rs
    158
        ) -> Result<Self, ChannelValidationError> {
    159
            #[allow(clippy::question_mark)]
    160
            if let Err(source) = validate_rate_limit_per_user(rate_limit_per_user) {
  • twilight-http 0.15.0-rc.1/src/request/channel/update_channel.rs
    126
        pub const fn bitrate(mut self, bitrate: u32) -> Result<Self, ChannelValidationError> {
    127
            #[allow(clippy::question_mark)]
    128
            if let Err(source) = validate_bitrate(bitrate) {
    177
        ) -> Result<Self, ChannelValidationError> {
    178
            #[allow(clippy::question_mark)]
    179
            if let Some(default_thread_rate_limit_per_user) = default_thread_rate_limit_per_user {
    293
        ) -> Result<Self, ChannelValidationError> {
    294
            #[allow(clippy::question_mark)]
    295
            if let Err(source) = twilight_validate::channel::rate_limit_per_user(rate_limit_per_user) {
  • twilight-http 0.15.0-rc.1/src/request/guild/auto_moderation/create_auto_moderation_rule.rs
    272
        ) -> Result<ResponseFuture<AutoModerationRule>, ValidationError> {
    273
            #[allow(clippy::question_mark)]
    274
            if let Err(source) =
  • twilight-util 0.15.0-rc.1/src/builder/embed/mod.rs
    94
        pub fn validate(self) -> Result<Self, EmbedValidationError> {
    95
            #[allow(clippy::question_mark)]
    96
            if let Err(source) = validate_embed(&self.0) {
  • uguid 1.2.1/src/util.rs
    51
    /// `(b'1', b'a')` is parsed as `0x1a`.
    52
    #[allow(clippy::question_mark)] // `?` is not allowed in const functions.
    53
    const fn parse_byte_from_ascii_char_pair(a: u8, b: u8) -> Option<u8> {
  • uu_base32 0.0.17/src/base_common.rs
    177
                    // Silent the warning as we want to the error message
    178
                    #[allow(clippy::question_mark)]
    179
                    if stdout().write_all(&s).is_err() {
  • uu_install 0.0.17/src/install.rs
    562
                    // Silent the warning as we want to the error message
    563
                    #[allow(clippy::question_mark)]
    564
                    if mode::chmod(to_create, b.mode()).is_err() {
    705
        // Silent the warning as we want to the error message
    706
        #[allow(clippy::question_mark)]
    707
        if mode::chmod(to, b.mode()).is_err() {
  • uu_wc 0.0.17/src/count_fast.rs
    53
                    // Silent the warning as we want to the error message
    54
                    #[allow(clippy::question_mark)]
    55
                    if splice_exact(&pipe_rd, &null_file, res).is_err() {
  • vid_dup_finder 0.1.2/src/app/resolution_thunk.rs
    564
        #[allow(clippy::question_mark)] //spurious
    565
        match dest.parent() {
  • wlambda 0.8.1/src/prelude.rs
    10026
    /// Returns a SymbolTable with all WLambda standard library language symbols.
    10027
    #[allow(clippy::question_mark)]
    10028
    pub fn std_symbol_table() -> SymbolTable {
  • yash-syntax 0.6.0/src/parser/core.rs
    147
        async fn require_token(&mut self) {
    148
            #[allow(clippy::question_mark)] // TODO https://github.com/rust-lang/rust-clippy/issues/9518
    149
            if self.token.is_none() {
  • awint_core 0.8.0/src/lib.rs
    27
    // TODO when clippy issue 9175 is fixed remove
    28
    #![allow(clippy::question_mark)]
    29
    #![deny(unsafe_op_in_unsafe_fn)]
  • crossbeam-deque 0.8.2/src/lib.rs
    97
    )]
    98
    #![allow(clippy::question_mark)] // https://github.com/rust-lang/rust-clippy/issues/8281
    99
    #![cfg_attr(not(feature = "std"), no_std)]
  • encode_unicode 1.0.0/src/lib.rs
    55
        clippy::get_first,// .get(0), .get(1) is more readable
    56
        clippy::question_mark,// I prefer it very explicit
    57
    )]
  • espa 0.14.1/src/main.rs
    6
    #![allow(clippy::collapsible_if)]
    7
    #![allow(clippy::question_mark)]
    8
    #![allow(clippy::transmute_ptr_to_ptr)]
  • flo_curves 0.6.1/src/geo/sweep.rs
    1
    #![allow(clippy::question_mark)]        // Want to explicitly 'return None' when escaping loops, the shorter '?' form makes the loops look infinite
  • serde_yaml 0.9.17/src/lib.rs
    124
        clippy::ptr_arg, // https://github.com/rust-lang/rust-clippy/issues/9218
    125
        clippy::question_mark, // https://github.com/rust-lang/rust-clippy/issues/7859
    126
        // private Deserializer::next
  • serde_yaml_with_quirks 0.8.24/src/lib.rs
    73
        clippy::iter_not_returning_iterator, // https://github.com/rust-lang/rust-clippy/issues/8285
    74
        clippy::question_mark, // https://github.com/rust-lang/rust-clippy/issues/7859
    75
        // private Deserializer::next
  • signature_ps 0.35.0/src/lib.rs
    11
    )]
    12
    #![allow(clippy::question_mark)]
    13
    #![cfg_attr(not(feature = "std"), no_std)]
  • sqlite-vfs 0.2.0/src/lib.rs
    1
    #![allow(clippy::question_mark)]
    2
    //! Create a custom SQLite virtual file system by implementing the [Vfs] trait and registering it
  • sqlite-vfs-ic 0.2.0/src/lib.rs
    1
    #![allow(clippy::question_mark)]
    2
    //! Create a custom SQLite virtual file system by implementing the [Vfs] trait and registering it
  • usvg 0.28.0/src/lib.rs
    58
    #![allow(clippy::identity_op)]
    59
    #![allow(clippy::question_mark)]
    60
    #![allow(clippy::upper_case_acronyms)]
  • usvg-text-layout 0.28.0/src/lib.rs
    20
    #![allow(clippy::identity_op)]
    21
    #![allow(clippy::question_mark)]
    22
    #![allow(clippy::upper_case_acronyms)]
  • usvgr 0.27.0/src/lib.rs
    58
    #![allow(clippy::identity_op)]
    59
    #![allow(clippy::question_mark)]
    60
    #![allow(clippy::upper_case_acronyms)]
  • usvgr-text-layout 0.27.0/src/lib.rs
    20
    #![allow(clippy::identity_op)]
    21
    #![allow(clippy::question_mark)]
    22
    #![allow(clippy::upper_case_acronyms)]