• ajour-core 1.0.1/src/theme/mod.rs
    483
                #[allow(clippy::unnecessary_unwrap)]
    484
                fn visit_str<E>(self, s: &str) -> Result<Self::Value, E>
  • alevin-fry 0.8.1/src/cellfilter.rs
    221
    #[allow(clippy::unnecessary_unwrap, clippy::too_many_arguments)]
    222
    fn process_unfiltered(
    444
    #[allow(clippy::unnecessary_unwrap, clippy::too_many_arguments)]
    445
    fn process_filtered(
  • amplify_derive 4.0.0-alpha.3/src/display.rs
    237
        #[allow(clippy::unnecessary_unwrap)]
    238
        pub fn into_token_stream2(self, fields: &Fields, span: Span, alt: bool) -> TokenStream2 {
  • aquadoggo 0.4.0/src/graphql/client/dynamic_types/document_meta.rs
    66
        // Override rule to avoid unnecessary nesting.
    67
        #[allow(clippy::unnecessary_unwrap)]
    68
        pub fn resolve(
  • bellperson 0.24.1/src/gadgets/uint32.rs
    305
        /// Perform modular addition of several `UInt32` objects.
    306
        #[allow(clippy::unnecessary_unwrap)]
    307
        pub fn addmany<Scalar, CS, M>(mut cs: M, operands: &[Self]) -> Result<Self, SynthesisError>
  • bender 0.27.1/src/cli.rs
    146
            Some((command, matches)) => {
    147
                #[allow(clippy::unnecessary_unwrap)]
    148
                // execute pre-dependency-fetch commands
  • cargo-dist 0.0.2/src/lib.rs
    774
                // FIXME: this is a nasty cludge and we should use --ci=github here to take this path
    775
                #[allow(clippy::unnecessary_unwrap)]
    776
                let repo_url = repo_url.unwrap();
  • cargo-xcodebuild 0.1.0/src/teams.rs
    48
    impl Team {
    49
        #[allow(clippy::unnecessary_unwrap)]
    50
        pub fn from_pem(pem: &Pem) -> anyhow::Result<Option<Self>> {
  • cargo-xcodebuild 0.1.0/src/xcodebuild.rs
    317
        #[allow(clippy::unnecessary_unwrap)]
    318
        fn find_device(&self) -> anyhow::Result<SelectedDevice> {
  • cfgrammar 0.13.1/src/lib/yacc/grammar.rs
    856
    /// token is specified by the user-defined `token_cost` function.
    857
    #[allow(clippy::unnecessary_unwrap)]
    858
    fn rule_min_costs<StorageT: 'static + PrimInt + Unsigned>(
    945
    /// token is specified by the user-defined `token_cost` function.
    946
    #[allow(clippy::unnecessary_unwrap)]
    947
    fn rule_max_costs<StorageT: 'static + PrimInt + Unsigned>(
  • cgroups-rs 0.3.0/src/net_prio.rs
    96
        /// A map of priorities for each network interface.
    97
        #[allow(clippy::iter_nth_zero, clippy::unnecessary_unwrap)]
    98
        pub fn ifpriomap(&self) -> Result<HashMap<String, u64>> {
  • con-art-rust 0.2.0/src/tree.rs
    420
        #[allow(clippy::unnecessary_unwrap)]
    421
        pub fn remove(&self, k: &T, guard: &Guard) {
  • crabz 0.8.1/src/main.rs
    78
    /// If input is_some and in_place is true and output is None, figure out the inplace name
    79
    #[allow(clippy::unnecessary_unwrap)]
    80
    fn get_output(
  • crypto-crawler 4.7.4/src/crawlers/binance.rs
    129
    #[allow(clippy::unnecessary_unwrap)]
    130
    pub(crate) async fn crawl_funding_rate(
  • crypto-crawler 4.7.4/src/crawlers/bitmex.rs
    85
    #[allow(clippy::unnecessary_unwrap)]
    86
    pub(crate) async fn crawl_funding_rate(
  • crypto-crawler 4.7.4/src/crawlers/huobi.rs
    13
    #[allow(clippy::unnecessary_unwrap)]
    14
    pub(crate) async fn crawl_l2_event(
    49
    #[allow(clippy::unnecessary_unwrap)]
    50
    pub(crate) async fn crawl_funding_rate(
  • crypto-crawler 4.7.4/src/crawlers/okx.rs
    10
    #[allow(clippy::unnecessary_unwrap)]
    11
    pub(crate) async fn crawl_funding_rate(
  • dakv_skiplist 0.1.3/src/skiplist.rs
    257
        #[allow(clippy::unnecessary_unwrap)]
    258
        pub fn find_less_than(&self, key: &[u8]) -> *const Node {
  • dart-sys 3.1.12/build.rs
    411
    			// return the respective error
    412
    			#[allow(clippy::unnecessary_unwrap)]
    413
    			let error = dart_sdk_shasum_download_res.unwrap_err();
    418
    		// return the respective error
    419
    		#[allow(clippy::unnecessary_unwrap)]
    420
    		let error = dart_sdk_download_res.unwrap_err();
  • dtparse 1.3.0/src/lib.rs
    923
        #[allow(clippy::unnecessary_unwrap)]
    924
        fn ampm_valid(&self, hour: Option<i32>, ampm: Option<bool>, fuzzy: bool) -> ParseResult<bool> {
    1027
        #[allow(clippy::unnecessary_unwrap)]
    1028
        fn parse_numeric_token(
    1246
        #[allow(clippy::unnecessary_unwrap)]
    1247
        fn parse_hms(
  • field33_rdftk_iri_temporary_fork 0.1.9/src/authority.rs
    875
    #[allow(clippy::unnecessary_unwrap)]
    876
    fn parse_ihost(s: &str) -> IriResult<(Host, Option<Port>)> {
  • fudd 0.1.4/src/types/playing_cards.rs
    100
        /// Will throw a `HandError` if there are not exactly 7 cards.
    101
        #[allow(clippy::unnecessary_unwrap)]
    102
        pub fn eval_7cards(&self) -> Result<Eval, HandError> {
  • grass_compiler 0.12.2/src/evaluate/visitor.rs
    322
        #[allow(clippy::unnecessary_unwrap)]
    323
        fn add_forward_configuration(
  • grass_compiler 0.12.2/src/serializer.rs
    476
            #[allow(clippy::unnecessary_unwrap)]
    477
            if self.options.is_compressed() {
  • justconfig 1.0.1/src/item.rs
    339
    #[allow(clippy::unnecessary_unwrap)] // Until https://github.com/rust-lang/rfcs/pull/2497 gets implemented
    340
    fn values_out_of_range<T: FromStr, R: RangeBounds<usize>>(mut item: TypedItem<T>, range: R) -> Result<Vec<T>, ConfigError> {
  • lapce-xi-rope 0.3.1/src/delta.rs
    217
        // about not using if-let, but that'd change the meaning of the conditional.
    218
        #[allow(clippy::unnecessary_unwrap)]
    219
        pub fn synthesize(tombstones: &Node<N>, from_dels: &Subset, to_dels: &Subset) -> Delta<N> {
  • lrcat-extractor 0.3.0/src/images.rs
    26
    impl Properties {
    27
        #[allow(clippy::unnecessary_unwrap)]
    28
        fn loupe_focus(value: &[lron::Object]) -> Option<Point> {
    55
        #[allow(clippy::unnecessary_unwrap)]
    56
        fn properties_from(value: &[lron::Object]) -> Self {
  • lunatic-redis 0.1.3/src/cluster.rs
    429
        #[allow(clippy::unnecessary_unwrap)]
    430
        fn request<R, T, F>(&self, cmd: &R, mut func: F) -> RedisResult<T>
  • lwb-parser 0.1.7/src/parser/peg/parser_core_file.rs
    14
    /// When unsuccessful, it returns a `ParseError`.
    15
    #[allow(clippy::unnecessary_unwrap)] //Clippy gives a suggestion which makes code ugly
    16
    pub fn parse_file<'src>(
  • mco-redis-rs 0.21.6/src/cluster.rs
    388
        #[allow(clippy::unnecessary_unwrap)]
    389
        fn request<R, T, F>(&self, cmd: &R, mut func: F) -> RedisResult<T>
  • megra_rs 0.0.6/src/parser/eval/commands.rs
    69
    #[allow(clippy::unnecessary_unwrap)]
    70
    pub fn load_sample_as_wavematrix(
  • memflow 0.2.0-beta9/src/mem/phys_mem/mod.rs
    237
            #[allow(clippy::unnecessary_unwrap)]
    238
            if self.zero_fill_gaps && out.is_some() && out_fail.is_some() {
  • millennium-core 1.0.0-beta.3/src/platform_impl/macos/event.rs
    136
    #[allow(clippy::unnecessary_unwrap)]
    137
    pub fn create_key_event(ns_event: id, is_press: bool, is_repeat: bool, in_ime: bool, key_override: Option<KeyCode>) -> KeyEvent {
  • nogpt 0.1.0-pre1/src/lib.rs
    59
        // This checks that the other header is okay, so cannot unwrap it in if header
    60
        #[allow(clippy::unnecessary_unwrap)]
    61
        pub fn open(block: T) -> Result<Self, GPTParseError<T>> {
  • ntex-amqp 0.7.0/src/rcvlink.rs
    296
        #[allow(clippy::unnecessary_unwrap)]
    297
        pub(crate) fn handle_transfer(
  • peck-lib 1.0.1/src/lib.rs
    175
        #[inline]
    176
        #[allow(clippy::unnecessary_unwrap)]
    177
        ///infallible, but significantly slower, 633ns vs 37ns
    344
        #[inline]
    345
        #[allow(clippy::unnecessary_unwrap)]
    346
        pub fn approx_equal_infallible_f32(a: f32, b: f32, decimal_places: u8) -> bool {
  • pyoxidizer 0.24.0/src/py_packaging/standalone_distribution.rs
    556
        /// Extract and analyze a standalone distribution from a tar stream.
    557
        #[allow(clippy::unnecessary_unwrap)]
    558
        pub fn from_tar<R: Read>(source: R, extract_dir: &Path) -> Result<Self> {
  • rdeploy 0.1.0/src/run.rs
    198
    // Order is: ARGUMENT - ENV_VARIABLE(if not file prefered) - CONFIG-FILE
    199
    #[allow(clippy::unnecessary_unwrap)]
    200
    fn get_security_key(m: &ArgMatches, cfg: &DeployConfig) -> Result<String, &'static str> {
  • rdftk_iri 0.1.9/src/authority.rs
    875
    #[allow(clippy::unnecessary_unwrap)]
    876
    fn parse_ihost(s: &str) -> IriResult<(Host, Option<Port>)> {
  • redb 0.12.1/src/multimap_table.rs
    460
            let existed = if get_result.is_some() {
    461
                #[allow(clippy::unnecessary_unwrap)]
    462
                let guard = get_result.unwrap();
  • redis 0.22.3/src/cluster.rs
    435
        #[allow(clippy::unnecessary_unwrap)]
    436
        fn request<R, T, F>(&self, cmd: &R, mut func: F) -> RedisResult<T>
  • redis-sk 0.17.1/src/cluster.rs
    437
        #[allow(clippy::unnecessary_unwrap)]
    438
        fn request<T, F>(&self, cmd: &[u8], mut func: F) -> RedisResult<T>
  • root-io 0.3.0/src/tree_reader/tree.rs
    127
    /// Parse a `Tree` from the given buffer. Usually used through `FileItem::parse_with`.
    128
    #[allow(clippy::unnecessary_unwrap)]
    129
    pub fn ttree<'s, E>(i: &'s [u8], context: &'s Context) -> IResult<&'s [u8], Tree, E>
  • rslint_parser 0.3.1/src/syntax/decl.rs
    163
    #[allow(clippy::unnecessary_unwrap)]
    164
    fn formal_param_pat(p: &mut Parser) -> Option<CompletedMarker> {
  • sccache 0.3.3/src/compiler/rust.rs
    3193
        #[allow(clippy::unnecessary_unwrap)]
    3194
        fn nothing(_path: &Path) -> Result<()> {
  • sea-schema 0.11.0/src/mysql/writer/index.rs
    4
    impl IndexInfo {
    5
        #[allow(clippy::unnecessary_unwrap)]
    6
        pub fn write(&self) -> IndexCreateStatement {
  • sggit 0.0.4/src/main.rs
    94
    #[allow(clippy::unnecessary_unwrap)]
    95
    fn main() {
  • tao 0.17.0/src/platform_impl/macos/event.rs
    129
    #[allow(clippy::unnecessary_unwrap)]
    130
    pub fn create_key_event(
  • trezm-redis 0.15.2-alpha.0/src/cluster.rs
    437
        #[allow(clippy::unnecessary_unwrap)]
    438
        fn request<T, F>(&self, cmd: &[u8], mut func: F) -> RedisResult<T>
  • ureq 2.6.2/src/stream.rs
    378
            // connect with a configured timeout.
    379
            #[allow(clippy::unnecessary_unwrap)]
    380
            let stream = if proto.is_some() && Some(Proto::HTTPConnect) != proto {
  • user_doc-doc_data 0.1.0/src/lib.rs
    739
      #[allow(clippy::unnecessary_unwrap)]
    740
      /// Get an immutable reference to an entry at the specified numeric path. Returns `None` if the
    770
      #[allow(clippy::unnecessary_unwrap)]
    771
      /// Get a mutable reference to an entry at the specified numeric path. Returns `None` if the
  • vhost 0.6.0/src/vhost_user/master.rs
    217
        // Clippy doesn't seem to know that if let with && is still experimental
    218
        #[allow(clippy::unnecessary_unwrap)]
    219
        fn set_log_base(&self, base: u64, region: Option<VhostUserDirtyLogRegion>) -> Result<()> {
  • webaves 0.1.0/src/http/pc.rs
    56
    #[allow(clippy::unnecessary_unwrap)]
    57
    fn parse_int_2(input_1: &[u8], input_2: &[u8]) -> Option<(u16, u16)> {
  • wlambda 0.8.1/src/parser.rs
    1565
    #[allow(clippy::unnecessary_unwrap)]
    1566
    #[allow(clippy::collapsible_else_if)]
  • zcash_client_backend 0.7.0/src/keys.rs
    247
        /// See [`to_bytes`] for additional detail about the encoded form.
    248
        #[allow(clippy::unnecessary_unwrap)]
    249
        #[cfg(feature = "unstable")]
  • zkmq 0.2.7/src/filter.rs
    41
    impl Filter {
    42
        #[allow(clippy::unnecessary_unwrap)]
    43
        pub fn check_match(&self, value: Vec<u8>) -> anyhow::Result<bool> {
  • cgroups-rs 0.3.0/src/lib.rs
    7
    #![allow(clippy::unnecessary_unwrap)]
    8
    use log::*;
  • controlgroup 0.3.0/src/v1/memory.rs
    472
    fn parse_stat(reader: impl io::Read) -> Result<Stat> {
    473
        #![allow(clippy::unnecessary_unwrap)]
    531
    fn parse_numa_stat(reader: impl io::Read) -> Result<NumaStat> {
    532
        #![allow(clippy::unnecessary_unwrap)]
  • fang 0.10.0/src/blocking/worker.rs
    1
    #![allow(clippy::borrowed_box)]
    2
    #![allow(clippy::unnecessary_unwrap)]
  • fleetfs_raft 0.6.0/src/lib.rs
    484
    // This lint recommends some bad choices sometimes.
    485
    #![allow(clippy::unnecessary_unwrap)]
    486
    // We use `default` method a lot to be support prost and rust-protobuf at the
  • kas-text 0.6.0/src/display/text_runs.rs
    8
    #![allow(clippy::unnecessary_unwrap)]
  • raft 0.6.0/src/lib.rs
    484
    // This lint recommends some bad choices sometimes.
    485
    #![allow(clippy::unnecessary_unwrap)]
    486
    // We use `default` method a lot to be support prost and rust-protobuf at the
  • swc_ecma_parser 0.124.5/src/lib.rs
    122
    #![allow(clippy::too_many_arguments)]
    123
    #![allow(clippy::unnecessary_unwrap)]
    124
    #![allow(clippy::vec_box)]
  • syn 1.0.107/src/lib.rs
    287
        clippy::trivially_copy_pass_by_ref,
    288
        clippy::unnecessary_unwrap,
    289
        clippy::used_underscore_binding,
  • ux-charts 0.1.3/src/line.rs
    6
        clippy::float_cmp,
    7
        clippy::unnecessary_unwrap,
    8
        clippy::manual_map