82 |
#[allow(clippy::option_map_unit_fn)]
|
83 |
pub fn merge(mut self, args: ConfigArgs) -> Self {
|
3982 |
"test_sessions/auth_account.yaml",
|
3983 |
#[allow(clippy::option_map_unit_fn)]
|
3984 |
Some(Box::new(move |req| {
|
138 |
// Run a single sync 'tick'
|
139 |
#[allow(clippy::option_map_unit_fn)]
|
140 |
pub fn sync(&self) -> Result<Vec<IndexChange>> {
|
89 |
#[allow(clippy::option_map_unit_fn)]
|
90 |
fn send_packet(&self, pkt_to: PktTo) {
|
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 {
|
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> {
|
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
|
283 |
#[allow(clippy::option_map_unit_fn)]
|
284 |
pub fn generate<P: AsRef<Path>, O: AsRef<Path>>(
|
81 |
/// internally. Run this on load.
|
82 |
#[allow(clippy::option_map_unit_fn)]
|
83 |
pub fn setup_link_listener<F>(notify: F)
|
28 |
#[allow(clippy::option_map_unit_fn)]
|
29 |
fn main() {
|
6 |
#![allow(clippy::needless_lifetimes)] // these sometimes make things clearer
|
7 |
#![allow(clippy::option_map_unit_fn)] // suggestion is in poor taste
|
131 |
) -> std::result::Result<SurfClient, VcrError> {
|
132 |
#![allow(clippy::option_map_unit_fn)]
|
235 |
-> serde_json::Value {
|
236 |
#![allow(clippy::option_map_unit_fn)]
|
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.
|
21 |
#![allow(clippy::collapsible_else_if)]
|
22 |
#![allow(clippy::option_map_unit_fn)]
|
23 |
#![allow(clippy::type_complexity)]
|
7 |
#![allow(unused_macros)]
|
8 |
#![allow(clippy::option_map_unit_fn)]
|
15 |
#![allow(clippy::let_unit_value)]
|
16 |
#![allow(clippy::option_map_unit_fn)]
|
17 |
#![allow(clippy::match_ref_pats)]
|
9 |
clippy::module_inception,
|
10 |
clippy::option_map_unit_fn,
|
11 |
clippy::type_complexity,
|
24 |
#![allow(clippy::cast_lossless)]
|
25 |
#![allow(clippy::option_map_unit_fn)]
|
26 |
#![allow(clippy::derive_partial_eq_without_eq)]
|
1 |
//! A simple json CRUD api.
|
2 |
#![allow(clippy::option_map_unit_fn)]
|
3 |
use hyper::{server::Server, StatusCode};
|
162 |
clippy::from_over_into,
|
163 |
clippy::option_map_unit_fn,
|
164 |
clippy::needless_lifetimes,
|
1 |
#![allow(clippy::option_map_unit_fn)]
|
2 |
#![allow(clippy::collapsible_if)]
|
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
|
1 |
#![allow(clippy::option_map_unit_fn)]
|
15 |
// along with polkadot-rewards. If not, see <http://www.gnu.org/licenses/>.
|
16 |
#![allow(clippy::option_map_unit_fn)]
|
17 |
use anyhow::Error;
|
137 |
#![allow(
|
138 |
clippy::option_map_unit_fn,
|
139 |
// option_map_unit_fn suggests changing option.map( ) with () return value to if let -construct,
|
1 |
#![allow(clippy::option_map_unit_fn)]
|
2 |
mod utils;
|
93 |
#![allow(clippy::identity_op)]
|
94 |
#![allow(clippy::option_map_unit_fn)]
|
95 |
#![allow(clippy::unit_arg)]
|
140 |
clippy::from_over_into,
|
141 |
clippy::option_map_unit_fn,
|
142 |
clippy::needless_lifetimes,
|
1 |
#![allow(clippy::option_map_unit_fn)]
|
2 |
#![allow(clippy::cast_lossless)]
|
12 |
clippy::comparison_chain,
|
13 |
clippy::option_map_unit_fn,
|
14 |
clippy::redundant_closure,
|
1 |
#![allow(clippy::option_map_unit_fn)]
|
2 |
mod utils;
|
93 |
#![allow(clippy::identity_op)]
|
94 |
#![allow(clippy::option_map_unit_fn)]
|
95 |
#![allow(clippy::unit_arg)]
|