• apalis-core 0.3.6/src/worker/mod.rs
    158
        /// Fails if queue is full or actor is disconnected
    159
        #[allow(clippy::result_unit_err)]
    160
        pub async fn do_send<M>(&self, message: M) -> Option<M::Result>
  • apt-cmd 0.3.0/src/upgrade.rs
    58
        #[allow(clippy::result_unit_err)]
    59
        pub fn from_dbus_map<K: AsRef<str>, V: AsRef<str> + Into<Box<str>>>(
  • aya-log-common 0.1.13/src/lib.rs
    147
    pub trait WriteToBuf {
    148
        #[allow(clippy::result_unit_err)]
    149
        fn write(&self, buf: &mut [u8]) -> Result<usize, ()>;
    210
    #[allow(clippy::result_unit_err)]
    211
    #[doc(hidden)]
  • badder_lang 0.1.1/src/lib.rs
    151
    pub trait Overseer {
    152
        #[allow(clippy::result_unit_err)]
    153
        fn oversee(
  • binstall-zip 0.6.4/src/types.rs
    142
        /// * second: [0, 60]
    143
        #[allow(clippy::result_unit_err)]
    144
        pub fn from_date_and_time(
    177
        /// Returns `Err` when this object is out of bounds
    178
        #[allow(clippy::result_unit_err)]
    179
        pub fn from_time(dt: OffsetDateTime) -> Result<DateTime, ()> {
  • bool_ext 0.5.3/src/lib.rs
    138
        /// ```
    139
        #[allow(clippy::wrong_self_convention, clippy::result_unit_err)]
    140
        fn to_result(self) -> Result<(), ()>;
    165
        /// ```
    166
        #[allow(clippy::result_unit_err)]
    167
        fn ok<T>(self, ok: T) -> Result<T, ()>;
    203
        /// ```
    204
        #[allow(clippy::result_unit_err)]
    205
        fn ok_with<F: FnOnce() -> T, T>(self, ok: F) -> Result<T, ()>;
    267
        /// ```
    268
        #[allow(clippy::result_unit_err)]
    269
        fn err_with<F: FnOnce() -> E, E>(self, err: F) -> Result<(), E>;
  • bpf-sys 2.3.0/src/uname.rs
    15
    #[allow(clippy::result_unit_err)]
    16
    pub fn uname() -> Result<::libc::utsname, ()> {
    39
    #[allow(clippy::result_unit_err)]
    40
    #[inline]
  • cbe-program 1.15.0/src/short_vec.rs
    253
    /// Return the decoded value and how many bytes it consumed.
    254
    #[allow(clippy::result_unit_err)]
    255
    pub fn decode_shortu16_len(bytes: &[u8]) -> Result<(usize, usize), ()> {
  • cglue 0.2.12/src/tests/generics/associated.rs
    47
        #[allow(clippy::result_unit_err)]
    48
        fn orr_1(&self) -> Result<Self::ReturnType, ()>;
    50
        #[no_int_result]
    51
        #[allow(clippy::result_unit_err)]
    52
        fn orr_2(&self) -> Result<Self::ReturnType, ()> {
  • cir 0.1.1/src/lircd_conf/mod.rs
    117
    /// remotes. Any parse errors or warnings are send to the log.
    118
    #[allow(clippy::result_unit_err)]
    119
    pub fn parse<P: AsRef<Path>>(path: P) -> Result<Vec<Remote>, ()> {
  • constriction 0.3.0/src/backends.rs
    1174
        /// [`new_at_write_end`]: Self::new_at_write_end
    1175
        #[allow(clippy::result_unit_err)]
    1176
        pub fn new_at_pos(buf: Buf, pos: usize) -> Result<Self, ()>
    1197
        /// [`new_at_pos`]: Self::new_at_pos
    1198
        #[allow(clippy::result_unit_err)]
    1199
        pub fn new_at_pos_mut(mut buf: Buf, pos: usize) -> Result<Self, ()>
  • constriction 0.3.0/src/lib.rs
    576
        /// [`DefaultAnsCoder`]: stream::stack::DefaultAnsCoder
    577
        #[allow(clippy::result_unit_err)]
    578
        fn seek(&mut self, pos: Self::Position) -> Result<(), ()>;
  • constriction 0.3.0/src/stream/model.rs
    2247
        /// distribution
    2248
        #[allow(clippy::result_unit_err)]
    2249
        #[cfg(feature = "std")]
    2364
        /// [`from_floating_point_probabilities`]: #method.from_floating_point_probabilities
    2365
        #[allow(clippy::result_unit_err)]
    2366
        pub fn from_nonzero_fixed_point_probabilities<I>(
    2443
        /// distribution
    2444
        #[allow(clippy::result_unit_err)]
    2445
        pub fn from_symbols_and_floating_point_probabilities<F>(
    2523
        ///     Self::from_symbols_and_floating_point_probabilities
    2524
        #[allow(clippy::result_unit_err)]
    2525
        pub fn from_symbols_and_nonzero_fixed_point_probabilities<S, P>(
    2980
        /// except that it constructs an [`EncoderModel`] rather than a [`DecoderModel`].
    2981
        #[allow(clippy::result_unit_err)]
    2982
        pub fn from_symbols_and_floating_point_probabilities<F>(
  • constriction 0.3.0/src/stream/queue.rs
    71
    impl<Word: BitArray, State: BitArray> RangeCoderState<Word, State> {
    72
        #[allow(clippy::result_unit_err)]
    73
        pub fn new(lower: State, range: State) -> Result<Self, ()> {
    294
        /// TODO: there should also be a `decoder()` method that takes `&mut self`
    295
        #[allow(clippy::result_unit_err)]
    296
        pub fn into_decoder(self) -> Result<RangeDecoder<Word, State, Backend::IntoReadWords>, ()>
  • cortex-m-rtic 1.1.3/src/tq.rs
    70
        /// Update the instant at an marker value to a new instant
    71
        #[allow(clippy::result_unit_err)]
    72
        pub fn update_marker<F: FnOnce()>(
  • cskk 2.0.0/src/capi.rs
    34
    impl CskkRulesFfi {
    35
        #[allow(clippy::result_unit_err)]
    36
        pub fn new(rust_id: &str, rust_name: &str, rust_description: &str) -> Result<Self, CskkError> {
  • ctap-types 0.1.2/src/ctap1.rs
    152
    impl Response {
    153
        #[allow(clippy::result_unit_err)]
    154
        #[inline(never)]
  • D88FileIO 0.0.8/src/disk.rs
    26
        ///
    27
        #[allow(clippy::result_unit_err)]
    28
        pub fn preset(&mut self, reader: &mut BufReader<std::fs::File>) -> Result<usize, ()> {
    106
        ///
    107
        #[allow(clippy::result_unit_err)]
    108
        pub fn preset_track(&mut self, reader: &mut BufReader<std::fs::File>) -> Result<usize, ()> {
  • D88FileIO 0.0.8/src/fileio.rs
    135
        ///
    136
        #[allow(clippy::result_unit_err)]
    137
        pub fn read_d88_header(
    208
        ///
    209
        #[allow(clippy::result_unit_err)]
    210
        pub fn get_sector(&self, track: usize, side: usize, sector: usize) -> Result<&Sector, ()> {
  • D88FileIO 0.0.8/src/sector.rs
    25
        ///
    26
        #[allow(clippy::result_unit_err)]
    27
        pub fn preset(
  • D88FileIO 0.0.8/src/track.rs
    24
        ///
    25
        #[allow(clippy::result_unit_err)]
    26
        pub fn preset(
  • debcargo 2.6.0/src/debian/control.rs
    441
        #[allow(clippy::result_unit_err)]
    442
        pub fn summary_check_len(&self) -> std::result::Result<(), ()> {
  • domino_program 0.1.2/src/short_vec.rs
    253
    /// Return the decoded value and how many bytes it consumed.
    254
    #[allow(clippy::result_unit_err)]
    255
    pub fn decode_shortu16_len(bytes: &[u8]) -> Result<(usize, usize), ()> {
  • domino-program-dp 0.1.11/src/short_vec.rs
    253
    /// Return the decoded value and how many bytes it consumed.
    254
    #[allow(clippy::result_unit_err)]
    255
    pub fn decode_shortu16_len(bytes: &[u8]) -> Result<(usize, usize), ()> {
  • dumbledore 0.1.0/src/archetypes/arche.rs
    152
        /// Returns Err(()) if the entity is locked. However, this does mark the entity as locking so data can not be read anymore
    153
        #[allow(clippy::result_unit_err)]
    154
        pub fn remove(&self, index: u32) -> Result<(), ()> {
    180
        /// Err(()) if the component is locked.
    181
        #[allow(clippy::result_unit_err)]
    182
        pub fn get_comp_mut<'comp, T: ComponentLookup<'comp>>(
    221
        /// Err(()) if the component is locked.
    222
        #[allow(clippy::result_unit_err)]
    223
        pub fn get_comp<'comp, T: ComponentLookup<'comp>>(&self, entity_index: u32) -> Result<Option<T::RefResponse>, ()> {
  • embedded-update 0.10.0/src/traits.rs
    29
        /// Create an instance of the version based on a byte slice
    30
        #[allow(clippy::result_unit_err)]
    31
        fn from_slice(data: &[u8]) -> Result<Self, ()>;
  • epitls-pi 1.5.2/src/tasks.rs
    195
    	#[allow(clippy::result_unit_err)]
    196
    	pub fn run(self) -> Result<(), ()> {
  • erg_common 0.6.3/tsort.rs
    91
    /// perform topological sort on a graph
    92
    #[allow(clippy::result_unit_err)]
    93
    pub fn tsort<T: Eq + Hash + Clone, U>(g: Graph<T, U>) -> Result<Graph<T, U>, TopoSortError> {
  • erg_compiler 0.6.3/module/graph.rs
    52
        #[allow(clippy::result_unit_err)]
    53
        pub fn sorted(self) -> Result<Self, TopoSortError> {
    57
        #[allow(clippy::result_unit_err)]
    58
        pub fn sort(&mut self) -> Result<(), TopoSortError> {
    105
        #[allow(clippy::result_unit_err)]
    106
        pub fn sort(&self) -> Result<(), TopoSortError> {
  • faux 0.1.9/tests/return_self_method.rs
    54
        #[allow(clippy::result_unit_err)]
    55
        pub fn new_aliased_result() -> Result<Self> {
  • garage_model 0.8.1/s3/object_table.rs
    51
    	/// Adds a version if it wasn't already present
    52
    	#[allow(clippy::result_unit_err)]
    53
    	pub fn add_version(&mut self, new: ObjectVersion) -> Result<(), ()> {
  • gdbstub 0.6.3/src/arch.rs
    72
        /// Deserialize a GDB register bytestream into `self`.
    73
        #[allow(clippy::result_unit_err)]
    74
        fn gdb_deserialize(&mut self, bytes: &[u8]) -> Result<(), ()>;
  • gemachain-program 1.8.2/src/short_vec.rs
    251
    /// Return the decoded value and how many bytes it consumed.
    252
    #[allow(clippy::result_unit_err)]
    253
    pub fn decode_shortu16_len(bytes: &[u8]) -> Result<(usize, usize), ()> {
  • ghost-cell 0.2.3/src/ghost_cursor.rs
    196
        /// ```
    197
        #[allow(clippy::result_unit_err)]
    198
        pub fn move_mut<F>(&mut self, fun: F) -> Result<(), ()>
  • grammers-session 0.4.0/src/chat/packed.rs
    62
        /// A reference to a fixed-size array isn't used as the input parameter type for convenience.
    63
        #[allow(clippy::result_unit_err)]
    64
        pub fn from_bytes(buf: &[u8]) -> Result<Self, ()> {
  • graph-http 0.2.2/src/url/graphurl.rs
    61
        #[allow(clippy::result_unit_err)]
    62
        pub fn path_segments_mutable(&mut self) -> Result<PathSegmentsMut, ()> {
  • graphics_buffer 0.7.7/src/glyphs.rs
    14
    /// Create a `BufferGlyphs` from some font data
    15
    #[allow(clippy::result_unit_err)]
    16
    pub fn buffer_glyphs_from_bytes(font_data: &[u8]) -> Result<BufferGlyphs, ()> {
  • histogram 0.7.0/src/histogram.rs
    149
        /// This operation wraps on overflow.
    150
        #[allow(clippy::result_unit_err)]
    151
        pub fn increment(&self, value: u64, count: u32) -> Result<(), Error> {
    166
        /// This operation wraps on overflow.
    167
        #[allow(clippy::result_unit_err)]
    168
        pub fn decrement(&self, value: u64, count: u32) -> Result<(), Error> {
    310
        /// `Histogram`s.
    311
        #[allow(clippy::result_unit_err)]
    312
        pub fn merge(&self, other: &Self) -> Result<(), Error> {
  • imagine 0.3.1/src/png.rs
    876
      /// See the [`png` module docs](crate::png) for guidance.
    877
      #[allow(clippy::result_unit_err)]
    878
      pub fn unfilter_decompressed_data<F>(
  • inkpad-sandbox 0.2.0/src/crypto.rs
    10
        /// Returns `Err` if the signature is bad, otherwise the 33-byte compressed pubkey.
    11
        #[allow(clippy::result_unit_err)]
    12
        pub fn ecdsa_recover(&self, sig: &[u8; 65], msg: &[u8; 32]) -> Result<[u8; 33], ()> {
  • ipld-schema 0.3.2/src/lib.rs
    98
    #[allow(clippy::result_unit_err)]
    99
    #[allow(clippy::missing_errors_doc)]
  • iso7816 0.1.1/src/command.rs
    102
        /// * Global Platform GPC_SPE_055 3.10
    103
        #[allow(clippy::result_unit_err)]
    104
        pub fn extend_from_command<const T: usize>(
  • kanidm_client 1.1.0-alpha.11/src/lib.rs
    210
        #[allow(clippy::result_unit_err)]
    211
        pub fn read_options_from_optional_config<P: AsRef<Path> + std::fmt::Debug>(
    324
        #[allow(clippy::result_unit_err)]
    325
        pub fn add_root_certificate_filepath(self, ca_path: &str) -> Result<Self, ()> {
  • kanidm_tools 1.1.0-alpha.11/src/cli/session.rs
    23
    #[allow(clippy::result_unit_err)]
    24
    pub fn read_tokens() -> Result<BTreeMap<String, String>, ()> {
    70
    #[allow(clippy::result_unit_err)]
    71
    pub fn write_tokens(tokens: &BTreeMap<String, String>) -> Result<(), ()> {
  • kitsune_p2p_types 0.1.0/src/tx2/tx2_utils/latency.rs
    39
    /// Returns a unit error if we could not parse the buffer into time data.
    40
    #[allow(clippy::result_unit_err)]
    41
    pub fn parse_latency_info(buf: &[u8]) -> Result<std::time::Duration, ()> {
  • kvarn-chute 0.3.2/src/lib.rs
    202
    /// The returned result indicates whether everything went fine.
    203
    #[allow(clippy::result_unit_err)]
    204
    pub fn process_document<P: AsRef<Path>>(
  • leo-errors 1.6.2/src/emitter/mod.rs
    250
        /// Extend handler with `error` given `res = Err(error)`.
    251
        #[allow(clippy::result_unit_err)]
    252
        pub fn extend_if_error<T>(&self, res: Result<T, LeoError>) -> Result<T, ()> {
  • libafl_frida 0.9.0/src/asan/asan_rt.rs
    2241
        #[must_use]
    2242
        #[allow(clippy::result_unit_err)]
    2243
        pub fn asan_is_interesting_instruction(
  • libp2p-kad 0.42.1/src/addresses.rs
    67
        /// otherwise unreachable.
    68
        #[allow(clippy::result_unit_err)]
    69
        pub fn remove(&mut self, addr: &Multiaddr) -> Result<(), ()> {
  • libp2p-swarm 0.41.1/src/lib.rs
    780
        /// [`ConnectionHandlerEvent::Close`].
    781
        #[allow(clippy::result_unit_err)]
    782
        pub fn disconnect_peer_id(&mut self, peer_id: PeerId) -> Result<(), ()> {
  • librstb 0.1.1/src/sim_if.rs
    45
    #[allow(clippy::result_unit_err)]
    46
    pub trait SimIf {
  • lifterr 0.4.1/src/result.rs
    83
        /// Replaces whatever value of type `E` in `Result<A, E>` with an unit.
    84
        #[allow(clippy::result_unit_err)]
    85
        fn void_err(self) -> Result<A, ()>
  • lignin 0.1.0/src/callback_registry.rs
    266
    	#[allow(clippy::result_unit_err)]
    267
    	pub unsafe fn reset_callback_registry() -> Result<(), ()> {
    380
    	#[allow(clippy::result_unit_err)]
    381
    	#[inline(always)]
    763
    #[allow(clippy::module_name_repetitions)]
    764
    #[allow(clippy::result_unit_err)]
    765
    #[inline(always)] // Proxy function.
  • linked_list_allocator 0.10.4/src/hole.rs
    404
        // release to remove this clippy warning
    405
        #[allow(clippy::result_unit_err)]
    406
        pub fn allocate_first_fit(&mut self, layout: Layout) -> Result<(NonNull<u8>, Layout), ()> {
  • linked_list_allocator 0.10.4/src/lib.rs
    193
        // release to remove this clippy warning
    194
        #[allow(clippy::result_unit_err)]
    195
        pub fn allocate_first_fit(&mut self, layout: Layout) -> Result<NonNull<u8>, ()> {
  • lithia 1.0.6/src/object.rs
    61
        #[allow(clippy::result_unit_err)]
    62
        pub fn pair_list_to_string(&self) -> Result<String, ()> {
  • nesdie 0.2.0/src/env.rs
    48
    /// enough, an error will be returned.
    49
    #[allow(clippy::result_unit_err)]
    50
    pub fn read_register(register_id: u64, buf: &mut [u8]) -> Result<usize, ()> {
  • opensrv-clickhouse 0.3.0/src/types/options.rs
    567
    #[allow(clippy::result_unit_err)]
    568
    pub fn parse_duration(source: &str) -> std::result::Result<Duration, ()> {
    586
    #[allow(clippy::result_unit_err)]
    587
    pub fn parse_opt_duration(source: &str) -> std::result::Result<Option<Duration>, ()> {
    596
    #[allow(clippy::result_unit_err)]
    597
    pub fn parse_opt_u8(source: &str) -> std::result::Result<Option<u8>, ()> {
    610
    #[allow(clippy::result_unit_err)]
    611
    pub fn parse_compression(source: &str) -> std::result::Result<bool, ()> {
    619
    #[allow(clippy::result_unit_err)]
    620
    pub fn parse_hosts(source: &str) -> std::result::Result<Vec<Url>, ()> {
  • parse-env-filter 0.1.0/src/eager.rs
    11
    /// This is an eager, allocating version of [the root `filters`](crate::filters).
    12
    #[allow(clippy::result_unit_err)]
    13
    pub fn filters(directives: &str) -> Result<Vec<Filter<'_>>, ParseError> {
  • pg_wire 0.8.1/src/connection/mod.rs
    211
        /// Allocates a new Connection ID and secret key.
    212
        #[allow(clippy::result_unit_err)]
    213
        pub fn alloc(&self) -> Result<(ConnId, ConnSecretKey), ()> {
  • pulsar 5.0.2/src/executor.rs
    19
        /// spawns a new task
    20
        #[allow(clippy::result_unit_err)]
    21
        fn spawn(&self, f: Pin<Box<dyn Future<Output = ()> + Send>>) -> Result<(), ()>;
  • redb 0.12.1/benches/common.rs
    35
        #[allow(clippy::result_unit_err)]
    36
        fn commit(self) -> Result<(), ()>;
    39
    pub trait BenchInserter {
    40
        #[allow(clippy::result_unit_err)]
    41
        fn insert(&mut self, key: &[u8], value: &[u8]) -> Result<(), ()>;
    43
        #[allow(clippy::result_unit_err)]
    44
        fn remove(&mut self, key: &[u8]) -> Result<(), ()>;
  • remote-trait-object 0.5.0/src/service/serde_support.rs
    147
        /// [Service compatiblity]: ./index.html#service_compatibility
    148
        #[allow(clippy::result_unit_err)]
    149
        pub fn cast_service<U: ?Sized + Service>(self) -> Result<ServiceToImport<U>, ()> {
  • remote-trait-object 0.5.0/src/service.rs
    59
    pub trait SerdeFormat {
    60
        #[allow(clippy::result_unit_err)]
    61
        fn to_vec<S: serde::Serialize>(s: &S) -> Result<Vec<u8>, ()>;
    62
        #[allow(clippy::result_unit_err)]
    63
        fn from_slice<D: serde::de::DeserializeOwned>(data: &[u8]) -> Result<D, ()>;
  • rhdxmr-publish-test3 0.1.0/src/uname.rs
    15
    #[allow(clippy::result_unit_err)]
    16
    pub fn uname() -> Result<::libc::utsname, ()> {
    39
    #[allow(clippy::result_unit_err)]
    40
    #[inline]
  • richard-test 0.1.13/src/auxiliary/frame_support.rs
    29
            /// Returns `Ok` if it exists, `Err` if not.
    30
            #[allow(clippy::result_unit_err)]
    31
            fn try_get<KeyArg>(key: KeyArg) -> Result<V, ()>;
    103
            /// Returns `Ok` if it exists, `Err` if not.
    104
            #[allow(clippy::result_unit_err)]
    105
            fn try_get<KArg1, KArg2>(k1: KArg1, k2: KArg2) -> Result<V, ()>;
  • rofi-mode 0.2.4/src/lib.rs
    129
        /// ```
    130
        #[allow(clippy::result_unit_err)]
    131
        fn init(api: Api<'rofi>) -> Result<Self, ()>;
  • rug 1.19.0/src/integer/big.rs
    1814
        #[inline]
    1815
        #[allow(clippy::result_unit_err)]
    1816
        pub fn assign_f32(&mut self, val: f32) -> Result<(), ()> {
    1835
        #[inline]
    1836
        #[allow(clippy::result_unit_err)]
    1837
        pub fn assign_f64(&mut self, val: f64) -> Result<(), ()> {
    3575
        #[inline]
    3576
        #[allow(clippy::result_unit_err)]
    3577
        pub fn invert_mut(&mut self, modulo: &Self) -> Result<(), ()> {
    3696
        #[inline]
    3697
        #[allow(clippy::result_unit_err)]
    3698
        pub fn pow_mod_mut(&mut self, exponent: &Self, modulo: &Self) -> Result<(), ()> {
  • rug 1.19.0/src/rational/big.rs
    615
        #[inline]
    616
        #[allow(clippy::result_unit_err)]
    617
        pub fn assign_f32(&mut self, val: f32) -> Result<(), ()> {
    636
        #[inline]
    637
        #[allow(clippy::result_unit_err)]
    638
        pub fn assign_f64(&mut self, val: f64) -> Result<(), ()> {
  • rust-apt 0.4.1/src/cache.rs
    351
    	/// Returns [`Err`] if there was an error reaching dependency resolution.
    352
    	#[allow(clippy::result_unit_err)]
    353
    	pub fn resolve(&self, fix_broken: bool) -> Result<(), Exception> {
  • safecoin-program 1.14.3/src/short_vec.rs
    255
    /// Return the decoded value and how many bytes it consumed.
    256
    #[allow(clippy::result_unit_err)]
    257
    pub fn decode_shortu16_len(bytes: &[u8]) -> Result<(usize, usize), ()> {
  • simd-abstraction 0.7.1/src/hex.rs
    38
    #[allow(clippy::result_unit_err)]
    39
    #[inline]
  • smartcalc 1.0.8/src/syntax/mod.rs
    60
        #[allow(clippy::result_unit_err)]
    61
        pub fn peek_token(&self) -> Result<Rc<TokenType>, ()> {
  • solana-program 1.14.13/src/short_vec.rs
    255
    /// Return the decoded value and how many bytes it consumed.
    256
    #[allow(clippy::result_unit_err)]
    257
    pub fn decode_shortu16_len(bytes: &[u8]) -> Result<(usize, usize), ()> {
  • solang 0.2.1/src/lib.rs
    16
    // as error.
    17
    #[allow(clippy::result_unit_err)]
    18
    pub mod sema;
  • sophia_api 0.7.2/src/dataset/_traits.rs
    726
        #[allow(clippy::result_unit_err)] // workaround https://github.com/rust-lang/rust-clippy/issues/6546
    727
        /// Keep only the quads matching the given matchers.
  • swc_common 0.29.29/src/sync.rs
    284
        #[allow(clippy::result_unit_err)]
    285
        #[cfg(not(feature = "concurrent"))]
    291
        #[allow(clippy::result_unit_err)]
    292
        #[cfg(feature = "concurrent")]
  • synfx-dsp-jit 0.6.1/src/context.rs
    900
        ///```
    901
        #[allow(clippy::result_unit_err)]
    902
        pub unsafe fn with_node_state<T, R, F: FnMut(*mut T) -> R>(
  • tiny_http 0.12.0/src/common.rs
    164
        /// ```
    165
        #[allow(clippy::result_unit_err)]
    166
        pub fn from_bytes<B1, B2>(header: B1, value: B2) -> Result<Header, ()>
  • trussed 0.1.0/src/service.rs
    659
        /// interchange pairs.
    660
        #[allow(clippy::result_unit_err)]
    661
        pub fn try_new_client<S: crate::platform::Syscall>(&mut self, client_id: &str, syscall: S)
    674
        /// single-app runners.
    675
        #[allow(clippy::result_unit_err)]
    676
        pub fn try_as_new_client(&mut self, client_id: &str)
  • url 2.3.1/src/lib.rs
    1583
        /// Return `Err(())` if this URL is cannot-be-a-base.
    1584
        #[allow(clippy::result_unit_err)]
    1585
        pub fn path_segments_mut(&mut self) -> Result<PathSegmentsMut<'_>, ()> {
    1667
        /// ```
    1668
        #[allow(clippy::result_unit_err)]
    1669
        pub fn set_port(&mut self, mut port: Option<u16>) -> Result<(), ()> {
    1945
        ///
    1946
        #[allow(clippy::result_unit_err)]
    1947
        pub fn set_ip_host(&mut self, address: IpAddr) -> Result<(), ()> {
    1985
        /// ```
    1986
        #[allow(clippy::result_unit_err)]
    1987
        pub fn set_password(&mut self, password: Option<&str>) -> Result<(), ()> {
    2078
        /// ```
    2079
        #[allow(clippy::result_unit_err)]
    2080
        pub fn set_username(&mut self, username: &str) -> Result<(), ()> {
  • url 2.3.1/src/quirks.rs
    101
    /// Setter for https://url.spec.whatwg.org/#dom-url-protocol
    102
    #[allow(clippy::result_unit_err)]
    103
    pub fn set_protocol(url: &mut Url, mut new_protocol: &str) -> Result<(), ()> {
    118
    /// Setter for https://url.spec.whatwg.org/#dom-url-username
    119
    #[allow(clippy::result_unit_err)]
    120
    pub fn set_username(url: &mut Url, new_username: &str) -> Result<(), ()> {
    130
    /// Setter for https://url.spec.whatwg.org/#dom-url-password
    131
    #[allow(clippy::result_unit_err)]
    132
    pub fn set_password(url: &mut Url, new_password: &str) -> Result<(), ()> {
    146
    /// Setter for https://url.spec.whatwg.org/#dom-url-host
    147
    #[allow(clippy::result_unit_err)]
    148
    pub fn set_host(url: &mut Url, new_host: &str) -> Result<(), ()> {
    199
    /// Setter for https://url.spec.whatwg.org/#dom-url-hostname
    200
    #[allow(clippy::result_unit_err)]
    201
    pub fn set_hostname(url: &mut Url, new_hostname: &str) -> Result<(), ()> {
  • vsimd 0.8.0/src/hex.rs
    144
    #[allow(clippy::result_unit_err)]
    145
    #[inline(always)]
    166
    #[allow(clippy::result_unit_err)]
    167
    #[inline(always)]
    188
    #[allow(clippy::result_unit_err)]
    189
    #[inline(always)]
  • waffles-solana-program 1.15.0/src/short_vec.rs
    253
    /// Return the decoded value and how many bytes it consumed.
    254
    #[allow(clippy::result_unit_err)]
    255
    pub fn decode_shortu16_len(bytes: &[u8]) -> Result<(usize, usize), ()> {
  • wayland-commons 0.29.5/src/lib.rs
    61
        // -- The lint is allowed because fixing it would be a breaking change --
    62
        #[allow(clippy::result_unit_err)]
    63
        fn from_raw(msg: wire::Message, map: &mut Self::Map) -> Result<Self, ()>;
    72
        // -- The lint is allowed because fixing it would be a breaking change --
    73
        #[allow(clippy::result_unit_err)]
    74
        unsafe fn from_raw_c(
  • wayland-commons 0.29.5/src/map.rs
    155
        // -- The lint is allowed because fixing it would be a breaking change --
    156
        #[allow(clippy::result_unit_err)]
    157
        pub fn insert_at(&mut self, id: u32, object: Object<Meta>) -> Result<(), ()> {
    178
        // -- The lint is allowed because fixing it would be a breaking change --
    179
        #[allow(clippy::result_unit_err)]
    180
        pub fn with<T, F: FnOnce(&mut Object<Meta>) -> T>(&mut self, id: u32, f: F) -> Result<T, ()> {
  • wedpr_l_libsm 0.3.5/src/sm2/ecc.rs
    488
        #[allow(clippy::result_unit_err)]
    489
        pub fn bytes_to_point(&self, b: &[u8]) -> Result<Point, ()> {
  • wedpr_l_libsm 0.3.5/src/sm2/field.rs
    241
        // Square root of a field element
    242
        #[allow(clippy::result_unit_err)]
    243
        pub fn sqrt(&self, g: &FieldElem) -> Result<FieldElem, ()> {
  • wedpr_l_libsm 0.3.5/src/sm2/signature.rs
    68
        #[allow(clippy::result_unit_err)]
    69
        pub fn der_decode_raw(buf: &[u8]) -> Result<Signature, ()> {
    324
        #[allow(clippy::result_unit_err)]
    325
        pub fn load_pubkey(&self, buf: &[u8]) -> Result<Point, ()> {
    333
        #[allow(clippy::result_unit_err)]
    334
        pub fn load_seckey(&self, buf: &[u8]) -> Result<BigUint, ()> {
  • wgpu-profiler 0.11.0/src/lib.rs
    226
        /// Needs to be called **after** submitting any encoder used in the current frame.
    227
        #[allow(clippy::result_unit_err)]
    228
        pub fn end_frame(&mut self) -> Result<(), ()> {
  • xarc 0.3.0/src/atomic.rs
    116
        /// It can fail if, after the pointer has been loaded but before it is used, it is swapped out in another thread and destroyed.
    117
        #[allow(clippy::result_unit_err)]
    118
        pub fn try_load(&self, order: Ordering) -> Result<Xarc<T>, ()> {
  • xkbcommon 0.5.0/src/xkb/compose.rs
    44
        /// May panic if the locale contain inner null characters.
    45
        #[allow(clippy::result_unit_err, clippy::missing_errors_doc)]
    46
        pub fn new_from_locale(
    69
        #[allow(
    70
            clippy::result_unit_err,
    71
            clippy::missing_panics_doc,
  • zhou 0.1.2/src/common.rs
    165
        /// ```
    166
        #[allow(clippy::result_unit_err)]
    167
        pub fn from_bytes<B1, B2>(header: B1, value: B2) -> Result<Header, ()>
  • zip 0.6.3/src/types.rs
    135
        /// * second: [0, 60]
    136
        #[allow(clippy::result_unit_err)]
    137
        pub fn from_date_and_time(
    170
        /// Returns `Err` when this object is out of bounds
    171
        #[allow(clippy::result_unit_err)]
    172
        pub fn from_time(dt: OffsetDateTime) -> Result<DateTime, ()> {
  • alt_serde 1.0.119/src/lib.rs
    123
            map_err_ignore,
    124
            result_unit_err,
    125
            wildcard_imports,
  • beid_api 0.3.1/src/lib.rs
    1
    #![deny(rust_2018_idioms)]
    2
    #![allow(clippy::result_unit_err)]
  • block-grid 0.1.3/src/block_grid.rs
    1
    // FIXME: Fix and remove eventally
    2
    #![allow(clippy::result_unit_err)]
  • cap-sdk 0.2.4/src/lib.rs
    1
    #![allow(clippy::from_over_into)]
    2
    #![allow(clippy::result_unit_err)]
    3
    #![allow(dead_code)]
  • clang 2.0.0/src/lib.rs
    19
    #![allow(non_upper_case_globals, clippy::result_unit_err)]
  • coap-handler 0.1.4/src/helpers.rs
    9
        clippy::needless_lifetimes,
    10
        clippy::result_unit_err
    11
    )]
  • df_ls_structure 0.3.0-rc.1/src/lib.rs
    4
    // TODO: Remove this at later point can create custom errors.
    5
    #![allow(clippy::result_unit_err)]
  • df_ls_syntax_analysis 0.3.0-rc.1/src/lib.rs
    3
    // TODO: Remove this at later point can create custom errors.
    4
    #![allow(clippy::result_unit_err)]
  • dynfmt 0.1.5/src/lib.rs
    76
    #![warn(missing_docs)]
    77
    #![allow(clippy::result_unit_err)]
  • enarx_test_011 0.1.0/internal/shim-sev/src/snp/ghcb.rs
    6
    #![allow(missing_docs)]
    7
    #![allow(clippy::result_unit_err)]
  • erg_compiler 0.6.3/context/mod.rs
    3
    //! `Context` is used for type inference and type checking.
    4
    #![allow(clippy::result_unit_err)]
    5
    pub mod cache;
  • exonum_sodiumoxide 0.0.24/src/lib.rs
    56
    )]
    57
    #![allow(clippy::result_unit_err)]
    58
    #![cfg_attr(not(feature = "std"), no_std)]
  • gmod 16.0.2/src/lib.rs
    3
    #![allow(clippy::missing_safety_doc)]
    4
    #![allow(clippy::result_unit_err)]
  • hermit-abi 0.3.0/src/lib.rs
    6
    #![allow(clippy::missing_safety_doc)]
    7
    #![allow(clippy::result_unit_err)]
  • hexavalent 0.2.1/src/lib.rs
    92
    #![allow(
    93
        clippy::result_unit_err,
    94
        clippy::too_many_arguments,
  • hydra-dx-math 4.4.3/src/transcendental.rs
    1
    #![allow(clippy::result_unit_err)]
  • icu_capi 1.1.0/src/lib.rs
    18
    #![allow(clippy::needless_lifetimes)]
    19
    #![allow(clippy::result_unit_err)]
  • kasm 2.0.2/src/lexer/mod.rs
    1
    #![allow(clippy::result_unit_err)]
  • kasm 2.0.2/src/lib.rs
    1
    #![allow(clippy::result_unit_err)]
  • kasm 2.0.2/src/preprocessor/parser.rs
    1
    #![allow(clippy::result_unit_err)]
  • kerbalobjects 4.0.2/src/lib.rs
    151
    #![deny(missing_debug_implementations)]
    152
    #![allow(clippy::result_unit_err)]
  • ldap3 0.11.1/src/filter.rs
    1
    #![allow(clippy::blocks_in_if_conditions)]
    2
    #![allow(clippy::result_unit_err)]
  • leo-asg 1.5.3/src/lib.rs
    25
    #![allow(clippy::from_over_into)]
    26
    #![allow(clippy::result_unit_err)]
  • librstb 0.1.1/src/signal.rs
    1
    #![allow(clippy::result_unit_err)]
  • libxml 0.3.1/src/lib.rs
    6
    // Our new methods return Result<Self, _> types
    7
    #![allow(clippy::new_ret_no_self, clippy::result_unit_err)]
    8
    /// Bindings to the C interface
  • lwb-parser 0.1.7/src/parser/peg/parser_core_expression.rs
    1
    #![allow(clippy::result_unit_err)]
  • myelin-geometry 2.4.2/src/lib.rs
    9
    )]
    10
    #![allow(clippy::result_unit_err)]
  • object 0.30.3/src/lib.rs
    66
    // Unit errors are converted to other types by callers.
    67
    #![allow(clippy::result_unit_err)]
    68
    // Clippy is wrong.
  • rusty-hermit 0.3.54/src/syscalls/mod.rs
    1
    #![allow(clippy::result_unit_err)]
  • sciter-rs 0.5.58/src/lib.rs
    70
    #![allow(clippy::deprecated_semver)]  // `#[deprecated(since="Sciter 4.4.3.24")]` is not a semver format.
    71
    #![allow(clippy::result_unit_err)]		// Sciter returns BOOL, but `Result<(), ()>` is more strict even without error description.
    72
    // #![allow(clippy::cast_ptr_alignment)] // 0.0.195 only
  • semihosting-files 0.1.4/src/lib.rs
    1
    #![no_std]
    2
    #![allow(clippy::result_unit_err)]
    3
    #![warn(missing_docs)]
  • serde 1.0.152/src/lib.rs
    131
            new_without_default,
    132
            result_unit_err,
    133
            wildcard_imports,
  • serde_derive_internals 0.26.0/lib.rs
    10
        clippy::redundant_field_names,
    11
        clippy::result_unit_err,
    12
        clippy::should_implement_trait,
  • sodiumoxide 0.2.7/src/lib.rs
    63
    // Remove this after https://github.com/sodiumoxide/sodiumoxide/issues/221 is done
    64
    #![allow(clippy::result_unit_err)]
  • strp 1.1.2/src/lib.rs
    182
    #![warn(missing_docs)]
    183
    #![allow(clippy::result_unit_err)]
  • substrace 0.2.0/tests/ui/auxiliary/frame-support.rs
    2
    #![allow(panics)]
    3
    #![allow(clippy::result_unit_err)]
  • swc_ecma_transforms_testing 0.119.4/src/lib.rs
    3
    #![deny(unused)]
    4
    #![allow(clippy::result_unit_err)]
  • system76_ecflash 0.1.3/src/flash.rs
    2
    // TODO: Use real errors
    3
    #![allow(clippy::result_unit_err)]
  • system76_ecflash 0.1.3/src/flasher.rs
    2
    // TODO: Use real errors
    3
    #![allow(clippy::result_unit_err)]
  • taml 0.0.11/src/lib.rs
    2
    #![warn(clippy::pedantic)]
    3
    #![allow(clippy::result_unit_err)]
    4
    #![allow(
  • unreferenced_files_lib 0.1.0/src/lib.rs
    1
    #![allow(clippy::result_unit_err)]
    2
    #[cfg(test)]
  • zcash_client_backend 0.7.0/src/lib.rs
    8
    // Temporary until we have addressed all Result<T, ()> cases.
    9
    #![allow(clippy::result_unit_err)]
  • zcash-hsmbuilder 0.3.0/src/lib.rs
    6
        clippy::too_many_arguments,
    7
        clippy::result_unit_err,
    8
        deprecated
  • zcash_primitives 0.10.0/src/lib.rs
    9
    // Temporary until we have addressed all Result<T, ()> cases.
    10
    #![allow(clippy::result_unit_err)]
  • zcash_proofs 0.10.0/src/lib.rs
    9
    // Temporary until we have addressed all Result<T, ()> cases.
    10
    #![allow(clippy::result_unit_err)]