Skip to content

Commit 0d79cf4

Browse files
authored
ref: Fix clippy (#1411)
- Automatically fix linter issues introduced by clippy 0.1.63. - Disable lint clippy::derive_partial_eq_without_eq.
1 parent 72ea13d commit 0d79cf4

File tree

25 files changed

+25
-4
lines changed

25 files changed

+25
-4
lines changed

relay-auth/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
html_logo_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png",
33
html_favicon_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png"
44
)]
5+
#![allow(clippy::derive_partial_eq_without_eq)]
56
use std::fmt;
67
use std::str::FromStr;
78

relay-aws-extension/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
html_logo_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png",
2727
html_favicon_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png"
2828
)]
29+
#![allow(clippy::derive_partial_eq_without_eq)]
2930

3031
mod aws_extension;
3132
pub use aws_extension::*;

relay-cabi/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
html_logo_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png",
9696
html_favicon_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png"
9797
)]
98+
#![allow(clippy::derive_partial_eq_without_eq)]
9899

99100
mod auth;
100101
mod constants;

relay-cabi/src/processing.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// TODO: Fix casts between RelayGeoIpLookup and GeoIpLookup
22
#![allow(clippy::cast_ptr_alignment)]
33
#![deny(unused_must_use)]
4+
#![allow(clippy::derive_partial_eq_without_eq)]
45

56
use std::cmp::Ordering;
67
use std::ffi::CStr;

relay-common/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
html_logo_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png",
55
html_favicon_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png"
66
)]
7+
#![allow(clippy::derive_partial_eq_without_eq)]
78

89
mod macros;
910

relay-config/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
html_logo_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png",
55
html_favicon_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png"
66
)]
7+
#![allow(clippy::derive_partial_eq_without_eq)]
78

89
mod byte_size;
910
mod config;

relay-ffi-macros/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
html_logo_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png",
88
html_favicon_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png"
99
)]
10+
#![allow(clippy::derive_partial_eq_without_eq)]
1011

1112
use proc_macro::TokenStream;
1213
use quote::ToTokens;

relay-ffi/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
html_logo_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png",
105105
html_favicon_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png"
106106
)]
107+
#![allow(clippy::derive_partial_eq_without_eq)]
107108

108109
use std::cell::RefCell;
109110
use std::error::Error;

relay-filter/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
html_logo_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png",
1212
html_favicon_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png"
1313
)]
14+
#![allow(clippy::derive_partial_eq_without_eq)]
1415

1516
use std::net::IpAddr;
1617

relay-general/derive/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
html_logo_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png",
66
html_favicon_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png"
77
)]
8+
#![allow(clippy::derive_partial_eq_without_eq)]
89

910
mod empty;
1011
mod jsonschema;

0 commit comments

Comments
 (0)