• abel 0.1.1/src/server/config.rs
    82
      #[allow(clippy::option_map_unit_fn)]
    83
      pub fn merge(mut self, args: ConfigArgs) -> Self {
  • b2-client 0.1.3/src/file.rs
    3982
                "test_sessions/auth_account.yaml",
    3983
                #[allow(clippy::option_map_unit_fn)]
    3984
                Some(Box::new(move |req| {
  • bwt 0.2.4/src/app.rs
    138
        // Run a single sync 'tick'
    139
        #[allow(clippy::option_map_unit_fn)]
    140
        pub fn sync(&self) -> Result<Vec<IndexChange>> {
  • cnsprcy 0.2.0/src/net/router.rs
    89
    	#[allow(clippy::option_map_unit_fn)]
    90
    	fn send_packet(&self, pkt_to: PktTo) {
  • fif 0.6.0/src/utils.rs
    45
    /// Returns the name of the target operating system with proper casing, like "Windows" or "macOS".
    46
    #[allow(clippy::option_map_unit_fn)]
    47
    pub fn os_name() -> String {
  • notnow 0.3.3/src/ui/dialog.rs
    264
      /// Handle a key press.
    265
      #[allow(clippy::option_map_unit_fn)]
    266
      async fn handle_key(&self, cap: &mut dyn MutCap<Event, Message>, key: Key) -> Option<Message> {
  • pact_consumer 0.10.3/src/builders/http_part_builder.rs
    58
        /// ```
    59
        #[allow(clippy::option_map_unit_fn)]
    60
        fn header<N, V>(&mut self, name: N, value: V) -> &mut Self
    92
        /// ```
    93
        #[allow(clippy::option_map_unit_fn)]
    94
        fn header_from_provider_state<N, E, V>(&mut self, name: N, expression: E, value: V) -> &mut Self
  • reframe 0.5.2/src/core.rs
    283
        #[allow(clippy::option_map_unit_fn)]
    284
        pub fn generate<P: AsRef<Path>, O: AsRef<Path>>(
  • seed 0.9.2/src/browser/service/routing.rs
    81
    /// internally. Run this on load.
    82
    #[allow(clippy::option_map_unit_fn)]
    83
    pub fn setup_link_listener<F>(notify: F)
  • x11-input-supercharger 0.5.0-alpha/src/main.rs
    28
    #[allow(clippy::option_map_unit_fn)]
    29
    fn main() {
  • async-condvar-fair 1.0.0/src/lib.rs
    6
    #![allow(clippy::needless_lifetimes)] // these sometimes make things clearer
    7
    #![allow(clippy::option_map_unit_fn)] // suggestion is in poor taste
  • b2-client 0.1.3/src/lib.rs
    131
        ) -> std::result::Result<SurfClient, VcrError> {
    132
            #![allow(clippy::option_map_unit_fn)]
    235
        -> serde_json::Value {
    236
            #![allow(clippy::option_map_unit_fn)]
  • caminos-lib 0.5.2/src/lib.rs
    299
    	//I only use this in some cases that would become extremely verbose.
    300
    	#![allow(clippy::option_map_unit_fn)]
    301
    // At clippy::perf all should be addressed.
  • dep-obj 0.38.4/src/lib.rs
    21
    #![allow(clippy::collapsible_else_if)]
    22
    #![allow(clippy::option_map_unit_fn)]
    23
    #![allow(clippy::type_complexity)]
  • enso-optics 0.2.0/src/lib.rs
    7
    #![allow(unused_macros)]
    8
    #![allow(clippy::option_map_unit_fn)]
  • esl 0.17.1/src/lib.rs
    15
    #![allow(clippy::let_unit_value)]
    16
    #![allow(clippy::option_map_unit_fn)]
    17
    #![allow(clippy::match_ref_pats)]
  • grafix-toolbox 0.8.7/crate.rs
    9
    	clippy::module_inception,
    10
    	clippy::option_map_unit_fn,
    11
    	clippy::type_complexity,
  • grpcio 0.12.0/src/lib.rs
    24
    #![allow(clippy::cast_lossless)]
    25
    #![allow(clippy::option_map_unit_fn)]
    26
    #![allow(clippy::derive_partial_eq_without_eq)]
  • hyperbole 0.1.2/examples/crud.rs
    1
    //! A simple json CRUD api.
    2
    #![allow(clippy::option_map_unit_fn)]
    3
    use hyper::{server::Server, StatusCode};
  • millennium-core 1.0.0-beta.3/src/lib.rs
    162
    	clippy::from_over_into,
    163
    	clippy::option_map_unit_fn,
    164
    	clippy::needless_lifetimes,
  • openscad-lsp 1.2.3/src/main.rs
    1
    #![allow(clippy::option_map_unit_fn)]
    2
    #![allow(clippy::collapsible_if)]
  • owoof 0.2.0/src/lib.rs
    1
    #![allow(clippy::match_ref_pats)]
    2
    #![allow(clippy::option_map_unit_fn)]
    3
    //! owoof is about interacting with a SQLite-backed database using entity-attribute-value triples
  • pk2 0.1.0/src/io.rs
    1
    #![allow(clippy::option_map_unit_fn)]
  • polkadot-rewards 0.5.3/src/main.rs
    15
    // along with polkadot-rewards.  If not, see <http://www.gnu.org/licenses/>.
    16
    #![allow(clippy::option_map_unit_fn)]
    17
    use anyhow::Error;
  • rustdds 0.7.11/src/lib.rs
    137
    #![allow(
    138
      clippy::option_map_unit_fn,
    139
      // option_map_unit_fn suggests changing option.map( ) with () return value to if let -construct,
  • smoltcp 0.8.2/examples/dhcp_client.rs
    1
    #![allow(clippy::option_map_unit_fn)]
    2
    mod utils;
  • smoltcp 0.8.2/src/lib.rs
    93
    #![allow(clippy::identity_op)]
    94
    #![allow(clippy::option_map_unit_fn)]
    95
    #![allow(clippy::unit_arg)]
  • tao 0.17.0/src/lib.rs
    140
      clippy::from_over_into,
    141
      clippy::option_map_unit_fn,
    142
      clippy::needless_lifetimes,
  • thorium 0.4.0/src/bin/main.rs
    1
    #![allow(clippy::option_map_unit_fn)]
    2
    #![allow(clippy::cast_lossless)]
  • ux-dx 0.2.1/src/lib.rs
    12
        clippy::comparison_chain,
    13
        clippy::option_map_unit_fn,
    14
        clippy::redundant_closure,
  • ya-smoltcp 0.1.0/examples/dhcp_client.rs
    1
    #![allow(clippy::option_map_unit_fn)]
    2
    mod utils;
  • ya-smoltcp 0.1.0/src/lib.rs
    93
    #![allow(clippy::identity_op)]
    94
    #![allow(clippy::option_map_unit_fn)]
    95
    #![allow(clippy::unit_arg)]