41 |
#[allow(clippy::map_unwrap_or)] //current code seems to be measurably faster.
|
42 |
fn find_highest_fitting_power(base : &B) -> PowerAndExponent<V> {
|
159 |
let len = |path: &Path| {
|
160 |
#[allow(clippy::result_map_unwrap_or_else)]
|
161 |
path.metadata().map(|m| m.len()).unwrap_or_else(|e| {
|
527 |
#[allow(clippy::map_unwrap_or)]
|
528 |
fn add_opt_value(
|
160 |
#![allow(clippy::map_flatten)]
|
161 |
#![allow(clippy::map_unwrap_or)]
|
162 |
#![allow(clippy::explicit_iter_loop)]
|
183 |
clippy::needless_doctest_main,
|
184 |
clippy::map_unwrap_or,
|
185 |
clippy::redundant_field_names,
|
2 |
// Clippy lints
|
3 |
#![allow(clippy::map_unwrap_or)]
|
4 |
#![warn(
|
3 |
#![deny(warnings, missing_copy_implementations)]
|
4 |
#![allow(clippy::needless_pass_by_value, clippy::option_map_unwrap_or_else, clippy::option_map_unwrap_or)]
|
5 |
#![warn(
|
5 |
clippy::needless_pass_by_value,
|
6 |
clippy::map_unwrap_or
|
7 |
)]
|
2 |
// Clippy lints
|
3 |
#![allow(clippy::needless_pass_by_value, clippy::map_unwrap_or)]
|
4 |
#![warn(
|
11 |
#![allow(clippy::find_map)]
|
12 |
#![allow(clippy::map_unwrap_or)]
|
13 |
#![allow(clippy::match_same_arms)]
|
11 |
clippy::large_enum_variant,
|
12 |
clippy::map_unwrap_or,
|
13 |
clippy::missing_docs_in_private_items,
|
3 |
#![allow(
|
4 |
clippy::map_unwrap_or,
|
5 |
clippy::match_same_arms,
|
3 |
#![allow(
|
4 |
clippy::map_unwrap_or,
|
5 |
clippy::match_same_arms,
|
103 |
#![allow(clippy::redundant_else)]
|
104 |
#![allow(clippy::map_unwrap_or)]
|
105 |
#![allow(clippy::large_enum_variant)]
|
1077 |
) -> Result<Self::Value> {
|
1078 |
#![allow(clippy::map_unwrap_or)] // Needed to borrow `reporter`.
|
1079 |
encoders
|
3 |
#![allow(clippy::cast_possible_truncation)]
|
4 |
#![allow(clippy::map_unwrap_or)]
|
5 |
#![forbid(unsafe_code)]
|
6 |
clippy::manual_map,
|
7 |
clippy::map_unwrap_or,
|
8 |
clippy::needless_pass_by_value,
|
5 |
clippy::manual_map,
|
6 |
clippy::map_unwrap_or,
|
7 |
clippy::needless_pass_by_value,
|
6 |
clippy::manual_map,
|
7 |
clippy::map_unwrap_or,
|
8 |
clippy::needless_pass_by_value,
|
5 |
clippy::manual_map,
|
6 |
clippy::map_unwrap_or,
|
7 |
clippy::needless_pass_by_value,
|
3 |
#![allow(clippy::cast_possible_truncation)]
|
4 |
#![allow(clippy::map_unwrap_or)]
|
5 |
#![forbid(unsafe_code)]
|