385 |
pub fn must_serde() {
|
386 |
#[allow(clippy::approx_constant)]
|
387 |
let js = json!({"x": 6213412, "y": 3.1415926});
|
400 |
pub fn must_serde() {
|
401 |
#[allow(clippy::approx_constant)]
|
402 |
let js = json!({"x": 6213412, "y": 3.1415926});
|
303 |
#[test]
|
304 |
#[allow(clippy::approx_constant)]
|
305 |
fn from_ber_real_string() {
|
313 |
#[test]
|
314 |
#[allow(clippy::approx_constant)]
|
315 |
fn from_ber_real_string_primitive() {
|
129 |
#[allow(clippy::approx_constant)]
|
130 |
#[test]
|
142 |
#[allow(clippy::approx_constant)]
|
143 |
#[test]
|
157 |
#[allow(clippy::approx_constant)]
|
158 |
#[test]
|
167 |
#[allow(clippy::approx_constant)]
|
168 |
#[test]
|
129 |
#[allow(clippy::approx_constant)]
|
130 |
#[test]
|
142 |
#[allow(clippy::approx_constant)]
|
143 |
#[test]
|
157 |
#[allow(clippy::approx_constant)]
|
158 |
#[test]
|
167 |
#[allow(clippy::approx_constant)]
|
168 |
#[test]
|
910 |
#[cfg(test)]
|
911 |
#[allow(clippy::float_cmp, clippy::approx_constant)]
|
912 |
mod tests {
|
95 |
#[cfg(test)]
|
96 |
#[allow(clippy::disallowed_types, clippy::approx_constant)]
|
97 |
mod tests {
|
362 |
#[cfg(test)]
|
363 |
#[allow(clippy::float_cmp, clippy::approx_constant)]
|
364 |
mod tests {
|
18 |
const COEFF_4: f64 = 0.006_935_931;
|
19 |
#[allow(clippy::approx_constant)]
|
20 |
const ONEBYLOG2: f64 = 1.442_695_041;
|
60 |
#[test]
|
61 |
#[allow(clippy::approx_constant)]
|
62 |
fn formatter_float_format_works() {
|
60 |
#[test]
|
61 |
#[allow(clippy::approx_constant)]
|
62 |
fn formatter_float_format_works() {
|
126 |
use super::*;
|
127 |
#[allow(clippy::approx_constant)]
|
128 |
#[test]
|
567 |
clippy::identity_op,
|
568 |
clippy::approx_constant,
|
569 |
clippy::many_single_char_names,
|
4 |
#[test]
|
5 |
#[allow(clippy::approx_constant)]
|
6 |
fn non_cs() -> Result<(), Box<dyn Error>> {
|
106 |
#[test]
|
107 |
#[allow(clippy::approx_constant)]
|
108 |
fn cs() -> Result<(), Box<dyn Error>> {
|
147 |
wfcym.set_meta("CTE_LOCALIZACION", "CEUTAMELILLA");
|
148 |
#[allow(clippy::approx_constant)]
|
149 |
wfcym.wdata.push(Factor::new(
|
2806 |
#[allow(clippy::approx_constant)]
|
2807 |
let double = 3.141_592_653_589_793;
|
2820 |
#[allow(clippy::approx_constant)]
|
2821 |
let double = 3.141_592_653_589_793;
|
33 |
#[allow(clippy::approx_constant)]
|
34 |
#[test]
|
55 |
let x = array![[1., 0., 0.], [0., 1., 0.], [0., 2., 0.], [3., 4., 5.]];
|
56 |
#[allow(clippy::approx_constant)]
|
57 |
let expected = array![1.41421356, 2.23606798, 6.70820393, 1., 6.55743852, 6.164414];
|
186 |
#[allow(clippy::approx_constant)]
|
187 |
#[test]
|
115 |
#[allow(clippy::approx_constant)]
|
116 |
#[test]
|
14 |
#[allow(clippy::approx_constant)]
|
15 |
mod precomputed_vertices {
|
153 |
#[test]
|
154 |
#[allow(clippy::approx_constant)]
|
155 |
fn str_read_any() {
|
1292 |
// `3.14` is copied from Java binding tests
|
1293 |
#[allow(clippy::approx_constant)]
|
1294 |
#[test]
|
1322 |
// `3.14` is copied from Java binding tests
|
1323 |
#[allow(clippy::approx_constant)]
|
1324 |
#[test]
|
1879 |
// `3.14` is copied from Java binding tests
|
1880 |
#[allow(clippy::approx_constant)]
|
1881 |
#[test]
|
3309 |
// `3.14` is copied from Java binding tests
|
3310 |
#[allow(clippy::approx_constant)]
|
3311 |
#[test]
|
3385 |
// `3.14` is copied from Java binding tests
|
3386 |
#[allow(clippy::approx_constant)]
|
3387 |
#[test]
|
1031 |
// `3.14` is copied from Java binding tests
|
1032 |
#[allow(clippy::approx_constant)]
|
1033 |
#[test]
|
1045 |
// `3.14` is copied from Java binding tests
|
1046 |
#[allow(clippy::approx_constant)]
|
1047 |
#[test]
|
1433 |
// `3.14` is copied from Java binding tests
|
1434 |
#[allow(clippy::approx_constant)]
|
1435 |
#[test]
|
1449 |
// `3.14` is copied from Java binding tests
|
1450 |
#[allow(clippy::approx_constant)]
|
1451 |
#[test]
|
1549 |
// `3.14` is copied from Java binding tests
|
1550 |
#[allow(clippy::approx_constant)]
|
1551 |
#[test]
|
93 |
/// TODO: Parallel execution
|
94 |
#[allow(clippy::approx_constant)]
|
95 |
fn update_sub<T: Accessor>(
|
87 |
#[allow(clippy::approx_constant)]
|
88 |
const FREQUENCY_RATIO_TABLE: [f32; 12] = [
|
1015 |
#[test]
|
1016 |
#[allow(clippy::approx_constant)]
|
1017 |
fn update_config_using_env_var_and_complex_value() {
|
125 |
#[test]
|
126 |
#[allow(clippy::approx_constant)] // false positive: using the PI constant would be wrong here
|
127 |
fn check_simple_values_parse() {
|
22 |
#[path = "./monster_generated.rs"]
|
23 |
#[allow(clippy::approx_constant)] // We use low precision PI as a default value.
|
24 |
mod monster_generated;
|
976 |
#[test]
|
977 |
#[allow(clippy::approx_constant)]
|
978 |
fn update_config_using_env_var_and_complex_value() {
|
23 |
// 7-degree minimax approximation
|
24 |
#[allow(clippy::approx_constant)]
|
25 |
let mut result = ((((((-0.001_262_491_1 * x + 0.006_670_09) * x - 0.017_088_126) * x
|
1419 |
#[test]
|
1420 |
#[allow(clippy::approx_constant)]
|
1421 |
fn count_variables() {
|
234 |
fn students_t_inverse_cdf(cdf: f64, df: u32) -> f32 {
|
235 |
#[allow(clippy::approx_constant)]
|
236 |
const STUDENTS_T: &[StudentsTInverseCDFTable] = &[
|
3 |
#[allow(clippy::approx_constant)]
|
4 |
/// Pi
|
1419 |
impl AiMath for i32 {
|
1420 |
#[allow(clippy::approx_constant)]
|
1421 |
fn quick_exp(self) -> f32 {
|
5 |
unused_imports,
|
6 |
clippy::approx_constant,
|
7 |
clippy::eq_op,
|
9 |
#[test]
|
10 |
#[allow(clippy::float_cmp, clippy::approx_constant)]
|
11 |
fn map() {
|
537 |
#[allow(clippy::approx_constant)]
|
538 |
mod parse_float {
|
534 |
#[allow(clippy::approx_constant)]
|
535 |
mod parse_float {
|
72 |
#[test]
|
73 |
#[allow(clippy::approx_constant)]
|
74 |
fn adddition() {
|
432 |
#[test]
|
433 |
#[allow(clippy::approx_constant)]
|
434 |
fn test_attribute_value_number() {
|
1223 |
#[test]
|
1224 |
#[allow(clippy::approx_constant)]
|
1225 |
fn test_trig_funcs() {
|
132 |
fn fmt_float() {
|
133 |
#[allow(clippy::approx_constant)]
|
134 |
let kserd = Kserd::enc(&3.14f32).unwrap();
|
48 |
-1.079,
|
49 |
#[allow(clippy::approx_constant)]
|
50 |
-3.141,
|
13 |
#[allow(clippy::approx_constant)]
|
14 |
#[test]
|
10 |
#[allow(clippy::approx_constant)]
|
11 |
#[test]
|
19 |
#[allow(clippy::approx_constant)]
|
20 |
#[test]
|
19 |
#[allow(clippy::approx_constant)]
|
20 |
#[test]
|
6 |
#[allow(clippy::approx_constant)]
|
7 |
#[test]
|
6 |
#[allow(clippy::approx_constant)]
|
7 |
#[test]
|
6 |
#[allow(clippy::approx_constant)]
|
7 |
#[test]
|
8 |
#[allow(clippy::approx_constant)]
|
9 |
#[test]
|
8 |
#[allow(clippy::approx_constant)]
|
9 |
#[test]
|
2 |
#[allow(clippy::approx_constant)]
|
3 |
pub const JAVA_PI: f64 = 3.14159265358979323846;
|
6124 |
(125.34, 9.79),
|
6125 |
#[allow(clippy::approx_constant)]
|
6126 |
(125.56, 6.28),
|
121 |
}
|
122 |
#[allow(clippy::approx_constant)]
|
123 |
pub const PI: f32 = 3.14159265359;
|
4 |
#[allow(clippy::approx_constant)]
|
5 |
pub const JAVA_PI: f64 = 3.14159265358979323846;
|
1038 |
#[test]
|
1039 |
#[allow(clippy::approx_constant)]
|
1040 |
fn update_config_using_env_var_and_complex_value() {
|
69 |
/// Builds and runs an newly generated mun project
|
70 |
#[allow(clippy::approx_constant)]
|
71 |
fn build_and_run(project: &Path) {
|
191 |
#[allow(clippy::approx_constant)]
|
192 |
#[test]
|
37 |
#[allow(clippy::approx_constant)]
|
38 |
#[test]
|
37 |
#[allow(clippy::approx_constant)]
|
38 |
#[test]
|
37 |
#[allow(clippy::approx_constant)]
|
38 |
#[test]
|
166 |
#[allow(clippy::approx_constant)]
|
167 |
#[test]
|
138 |
#[test]
|
139 |
#[allow(clippy::approx_constant)]
|
140 |
fn backward() {
|
134 |
#[test]
|
135 |
#[allow(clippy::approx_constant)]
|
136 |
fn string_to_decimal() {
|
27 |
#[allow(clippy::approx_constant)]
|
28 |
fn examples(&self) -> Vec<Example> {
|
27 |
#[allow(clippy::approx_constant)]
|
28 |
fn examples(&self) -> Vec<Example> {
|
27 |
#[allow(clippy::approx_constant)]
|
28 |
fn examples(&self) -> Vec<Example> {
|
184 |
// Unlike Most Libraries this does not use Bondi's approximations
|
185 |
#[allow(clippy::approx_constant)] // Forces clippy to ignore the 3.14
|
186 |
#[rustfmt::skip]
|
1 |
#[allow(clippy::approx_constant)]
|
2 |
#[rustfmt::skip]
|
11 |
#[allow(clippy::approx_constant)]
|
12 |
pub const GU_PI: f32 = 3.141593;
|
1108 |
#[allow(clippy::excessive_precision)]
|
1109 |
#[allow(clippy::approx_constant)]
|
1110 |
pub const SBS_N_WIN: [[f32; 32]; 64] = [
|
712 |
#[test]
|
713 |
#[allow(clippy::approx_constant)]
|
714 |
fn test_to_json_instance() {
|
181 |
#[allow(clippy::excessive_precision, clippy::approx_constant)]
|
182 |
let test_struct = Foo {
|
203 |
#[allow(clippy::excessive_precision, clippy::approx_constant)]
|
204 |
let validation_nbt = compound! {
|
874 |
#[allow(clippy::excessive_precision, clippy::approx_constant)]
|
875 |
let inlined = Inlined {
|
903 |
#[allow(clippy::excessive_precision, clippy::approx_constant)]
|
904 |
let validation_nbt = compound! {
|
22 |
#[allow(clippy::approx_constant)]
|
23 |
const MAT: Mat3A = Mat3A::from_cols_array_2d(&[
|
390 |
#[test]
|
391 |
#[allow(clippy::approx_constant)]
|
392 |
fn variant_float_test() {
|
418 |
#[test]
|
419 |
#[allow(clippy::approx_constant)]
|
420 |
fn variant_double_test() {
|
1008 |
#[test]
|
1009 |
#[allow(clippy::approx_constant)]
|
1010 |
fn insert_2() {
|
1027 |
#[test]
|
1028 |
#[allow(clippy::approx_constant)]
|
1029 |
fn insert_3() {
|
1142 |
#[test]
|
1143 |
#[allow(clippy::approx_constant)]
|
1144 |
fn insert_on_conflict_0() {
|
1168 |
#[test]
|
1169 |
#[allow(clippy::approx_constant)]
|
1170 |
fn insert_on_conflict_1() {
|
1194 |
#[test]
|
1195 |
#[allow(clippy::approx_constant)]
|
1196 |
fn insert_on_conflict_2() {
|
1098 |
#[test]
|
1099 |
#[allow(clippy::approx_constant)]
|
1100 |
fn insert_2() {
|
1114 |
#[test]
|
1115 |
#[allow(clippy::approx_constant)]
|
1116 |
fn insert_3() {
|
1258 |
#[test]
|
1259 |
#[allow(clippy::approx_constant)]
|
1260 |
fn insert_on_conflict_1() {
|
1284 |
#[test]
|
1285 |
#[allow(clippy::approx_constant)]
|
1286 |
fn insert_on_conflict_2() {
|
1310 |
#[test]
|
1311 |
#[allow(clippy::approx_constant)]
|
1312 |
fn insert_on_conflict_3() {
|
783 |
);
|
784 |
#[allow(clippy::approx_constant, clippy::clippy::excessive_precision)]
|
785 |
let expected = Complex {
|
592 |
);
|
593 |
#[allow(clippy::approx_constant, clippy::clippy::excessive_precision)]
|
594 |
let data = Complex {
|
126 |
fn gettext_with_args_float() {
|
127 |
#[allow(clippy::approx_constant)]
|
128 |
let j = json!({
|
37 |
// Clippy Allow: 2.718 is a coincidence - unrelated to f{32, 64}::consts::E
|
38 |
#[allow(clippy::approx_constant)]
|
39 |
T::from(
|
34 |
/// [game-music-emu]: https://bitbucket.org/mpyne/game-music-emu/src/013d4676c689dc49f363f99dcfb8b88f22278236/gme/Ay_Apu.cpp#lines-32
|
35 |
#[allow(clippy::approx_constant,clippy::excessive_precision)]
|
36 |
pub const AMPS: [f32;16] = [0.000_000, 0.007_813, 0.011_049, 0.015_625,
|
218 |
#[test]
|
219 |
#[allow(clippy::approx_constant)]
|
220 |
fn test_deserialize_f64() {
|
2806 |
#[allow(clippy::approx_constant)]
|
2807 |
let double = 3.141_592_653_589_793;
|
2820 |
#[allow(clippy::approx_constant)]
|
2821 |
let double = 3.141_592_653_589_793;
|
6124 |
(125.34, 9.79),
|
6125 |
#[allow(clippy::approx_constant)]
|
6126 |
(125.56, 6.28),
|
1993 |
#[test]
|
1994 |
#[allow(clippy::approx_constant)]
|
1995 |
fn tokenize_real_truncates_precision() {
|
8 |
#![allow(
|
9 |
clippy::approx_constant,
|
10 |
clippy::type_complexity,
|
8 |
#![allow(
|
9 |
clippy::approx_constant,
|
10 |
clippy::type_complexity,
|
8 |
#![allow(
|
9 |
clippy::approx_constant,
|
10 |
clippy::type_complexity,
|
8 |
#![allow(
|
9 |
clippy::approx_constant,
|
10 |
clippy::type_complexity,
|
8 |
#![allow(
|
9 |
clippy::approx_constant,
|
10 |
clippy::type_complexity,
|
203 |
mod tests {
|
204 |
#![allow(clippy::approx_constant)]
|
205 |
use super::super::marker;
|
153 |
mod tests {
|
154 |
#![allow(clippy::approx_constant)]
|
155 |
use super::super::Value;
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal, clippy::upper_case_acronyms)]
|
7 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
1 |
#![allow(clippy::approx_constant)]
|
2 |
use bevy::prelude::*;
|
3 |
clippy::upper_case_acronyms,
|
4 |
clippy::approx_constant,
|
5 |
clippy::type_complexity,
|
5 |
#![allow(deref_nullptr)]
|
6 |
#![allow(clippy::approx_constant)]
|
3 |
clippy::upper_case_acronyms,
|
4 |
clippy::approx_constant,
|
5 |
clippy::type_complexity,
|
1 |
#![allow(clippy::excessive_precision, clippy::approx_constant)]
|
756 |
mod tests {
|
757 |
#![allow(clippy::approx_constant)]
|
78 |
#![allow(clippy::excessive_precision)]
|
79 |
#![allow(clippy::approx_constant)]
|
80 |
#![allow(clippy::float_cmp)]
|
1 |
#![feature(test)]
|
2 |
#![allow(clippy::approx_constant, clippy::unreadable_literal)]
|
2 |
#![allow(
|
3 |
clippy::approx_constant,
|
4 |
clippy::excessive_precision,
|
1 |
#![allow(
|
2 |
clippy::approx_constant,
|
3 |
clippy::unreadable_literal,
|
567 |
fn test_two_id_x_two_types() {
|
568 |
#![allow(clippy::approx_constant)]
|
7 |
#![allow(non_snake_case)]
|
8 |
#![allow(clippy::approx_constant)]
|
9 |
#![allow(clippy::excessive_precision)]
|
4 |
#![allow(improper_ctypes)]
|
5 |
#![allow(clippy::approx_constant)]
|
6 |
#![allow(clippy::redundant_static_lifetimes)]
|
3 |
#![allow(non_snake_case)]
|
4 |
#![allow(clippy::approx_constant)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![allow(non_snake_case)]
|
4 |
#![allow(clippy::approx_constant)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![allow(non_snake_case)]
|
4 |
#![allow(clippy::approx_constant)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
3 |
#![allow(non_snake_case)]
|
4 |
#![allow(clippy::approx_constant)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
9 |
#![allow(clippy::from_over_into)]
|
10 |
#![allow(clippy::approx_constant)]
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
7 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal, clippy::upper_case_acronyms)]
|
8 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal, clippy::upper_case_acronyms)]
|
7 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
6 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
7 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal, clippy::upper_case_acronyms)]
|
8 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
7 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal, clippy::upper_case_acronyms)]
|
8 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
8 |
#![allow(
|
9 |
clippy::approx_constant,
|
10 |
clippy::type_complexity,
|
8 |
#![allow(
|
9 |
clippy::approx_constant,
|
10 |
clippy::type_complexity,
|
8 |
#![allow(
|
9 |
clippy::approx_constant,
|
10 |
clippy::type_complexity,
|
3 |
#![allow(clippy::approx_constant)]
|
3 |
#![allow(clippy::approx_constant)]
|
1 |
#![allow(clippy::approx_constant)]
|
1 |
#![allow(clippy::approx_constant)]
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
4 |
#![allow(clippy::approx_constant)]
|
5 |
use super::{Unit, UnitDimensions};
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
4 |
non_upper_case_globals,
|
5 |
clippy::approx_constant,
|
6 |
clippy::redundant_static_lifetimes,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
1 |
#![allow(clippy::approx_constant)]
|
2 |
use path::builder::SvgPathBuilder;
|
3 |
#![allow(non_snake_case)]
|
4 |
#![allow(clippy::approx_constant)]
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
7 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
16 |
#![allow(clippy::too_many_arguments)]
|
17 |
#![allow(clippy::approx_constant)]
|
18 |
#![allow(clippy::transmute_ptr_to_ptr)]
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal, clippy::upper_case_acronyms)]
|
7 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
9 |
#![allow(clippy::from_over_into)]
|
10 |
#![allow(clippy::approx_constant)]
|
3 |
#![allow(non_snake_case)]
|
4 |
#![allow(clippy::approx_constant)]
|
5 |
#![allow(clippy::missing_safety_doc)]
|
4 |
#![allow(
|
5 |
clippy::approx_constant,
|
6 |
clippy::excessive_precision,
|
22 |
#![allow(
|
23 |
clippy::approx_constant,
|
24 |
clippy::cast_possible_wrap,
|
21 |
#![allow(
|
22 |
clippy::approx_constant,
|
23 |
clippy::cast_lossless,
|
21 |
#![allow(
|
22 |
clippy::approx_constant,
|
23 |
clippy::float_cmp,
|
4 |
#![allow(
|
5 |
clippy::approx_constant,
|
6 |
clippy::excessive_precision,
|
22 |
#![allow(
|
23 |
clippy::approx_constant,
|
24 |
clippy::cast_possible_wrap,
|
21 |
#![allow(
|
22 |
clippy::approx_constant,
|
23 |
clippy::excessive_precision,
|
21 |
#![allow(
|
22 |
clippy::approx_constant,
|
23 |
clippy::float_cmp,
|
9 |
clippy::excessive_precision,
|
10 |
clippy::approx_constant
|
11 |
)]
|
5 |
#![allow(clippy::excessive_precision)]
|
6 |
#![allow(clippy::approx_constant)]
|
7 |
#![allow(clippy::cast_lossless)]
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal, clippy::upper_case_acronyms)]
|
7 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
6 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
7 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal, clippy::upper_case_acronyms)]
|
8 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
336 |
mod tests {
|
337 |
#![allow(clippy::approx_constant)]
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal, clippy::upper_case_acronyms)]
|
7 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal, clippy::upper_case_acronyms)]
|
7 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
15 |
#![warn(missing_debug_implementations)]
|
16 |
#![allow(clippy::approx_constant)]
|
17 |
#![allow(clippy::clone_on_copy)]
|
18 |
#![warn(missing_debug_implementations)]
|
19 |
#![allow(clippy::approx_constant)]
|
20 |
#![allow(clippy::collapsible_if)]
|
6 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
7 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal, clippy::upper_case_acronyms)]
|
8 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
61 |
// Disable irrelevant lints
|
62 |
#![allow(clippy::approx_constant)]
|
63 |
#![allow(clippy::excessive_precision)]
|
64 |
clippy::eq_op,
|
65 |
clippy::approx_constant,
|
66 |
clippy::len_without_is_empty,
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
6 |
#![allow(
|
7 |
clippy::approx_constant,
|
8 |
clippy::type_complexity,
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal, clippy::upper_case_acronyms)]
|
7 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
7 |
#![allow(
|
8 |
clippy::approx_constant,
|
9 |
clippy::type_complexity,
|
1 |
#![allow(clippy::approx_constant)]
|
2 |
#![allow(clippy::unnecessary_cast)]
|
5 |
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
6 |
#![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)]
|
7 |
extern crate glib_sys as glib;
|