18 |
///
|
19 |
#[allow(clippy::derive_hash_xor_eq)]
|
20 |
#[derive(Debug, Copy, Clone, Hash)]
|
198 |
#[allow(clippy::derive_hash_xor_eq)]
|
199 |
impl Hash for Value {
|
36 |
#[allow(clippy::derive_hash_xor_eq)]
|
37 |
impl Hash for Key {
|
51 |
#[allow(clippy::derive_hash_xor_eq)]
|
52 |
impl Hash for RcStr {
|
210 |
#[allow(clippy::derive_hash_xor_eq)]
|
211 |
impl Hash for Value {
|
123 |
#[allow(clippy::derive_hash_xor_eq)]
|
124 |
impl Hash for ValueRequired {
|
284 |
#[allow(clippy::derive_hash_xor_eq)]
|
285 |
impl std::hash::Hash for MultiEd25519PublicKey {
|
461 |
#[allow(clippy::derive_hash_xor_eq)]
|
462 |
impl std::hash::Hash for MultiEd25519Signature {
|
286 |
#[allow(clippy::derive_hash_xor_eq)]
|
287 |
impl std::hash::Hash for MultiEd25519PublicKey {
|
459 |
#[allow(clippy::derive_hash_xor_eq)]
|
460 |
impl std::hash::Hash for MultiEd25519Signature {
|
266 |
// need to implement `Hash` manually because `HashMap` implement Eq but no `Hash`
|
267 |
#[allow(clippy::derive_hash_xor_eq)]
|
268 |
impl Hash for Schema {
|
20 |
///
|
21 |
#[allow(clippy::derive_hash_xor_eq)]
|
22 |
#[derive(Clone, Debug, Eq, PartialOrd, Ord, Hash)]
|
32 |
///
|
33 |
#[allow(clippy::derive_hash_xor_eq)]
|
34 |
#[allow(clippy::upper_case_acronyms)]
|
329 |
#[allow(clippy::derive_hash_xor_eq)]
|
330 |
impl Hash for DispatcherType {
|
16 |
// data outside what is accessible through "FixedBitString")
|
17 |
#[allow(clippy::derive_hash_xor_eq)]
|
18 |
pub struct BitLengthString<W: FixedBitString> {
|
19 |
// This ensures that a MapKey::Key(value) hashes to the same as value. The derived PartialEq implementation still holds.
|
20 |
#[allow(clippy::derive_hash_xor_eq)]
|
21 |
impl Hash for MapKey {
|
16 |
// This ensures that a MapKey::Key(value) hashes to the same as value. The derived PartialEq implementation still holds.
|
17 |
#[allow(clippy::derive_hash_xor_eq)]
|
18 |
impl Hash for MapKey {
|
149 |
#[allow(clippy::derive_hash_xor_eq)]
|
150 |
#[allow(clippy::transmute_float_to_int)]
|
277 |
#[allow(clippy::derive_hash_xor_eq)]
|
278 |
#[allow(clippy::transmute_float_to_int)]
|
1742 |
#[allow(clippy::derive_hash_xor_eq)]
|
1743 |
impl hash::Hash for ByteSet {
|
32 |
}
|
33 |
#[allow(clippy::derive_hash_xor_eq)]
|
34 |
impl std::hash::Hash for GenericSubstitution {
|
310 |
// `ed25519_dalek::PublicKey` doesn't implement `Hash`.
|
311 |
#[allow(clippy::derive_hash_xor_eq)]
|
312 |
impl Hash for PublicKey {
|
1179 |
/// (For the obvious reason this also distinguishes leap seconds from non-leap seconds.)
|
1180 |
#[cfg_attr(feature = "cargo-clippy", allow(derive_hash_xor_eq))]
|
1181 |
impl hash::Hash for NaiveDateTime {
|
985 |
/// (For the obvious reason this also distinguishes leap seconds from non-leap seconds.)
|
986 |
#[cfg_attr(feature = "cargo-clippy", allow(derive_hash_xor_eq))]
|
987 |
impl hash::Hash for NaiveTime {
|
1179 |
/// (For the obvious reason this also distinguishes leap seconds from non-leap seconds.)
|
1180 |
#[cfg_attr(feature = "cargo-clippy", allow(derive_hash_xor_eq))]
|
1181 |
impl hash::Hash for NaiveDateTime {
|
985 |
/// (For the obvious reason this also distinguishes leap seconds from non-leap seconds.)
|
986 |
#[cfg_attr(feature = "cargo-clippy", allow(derive_hash_xor_eq))]
|
987 |
impl hash::Hash for NaiveTime {
|
3 |
/// ## Describe a `json:api` type attribute schema and list its relationships
|
4 |
#[allow(clippy::derive_hash_xor_eq)]
|
5 |
#[derive(Clone, Debug, Getters, MutGetters, Hash)]
|
210 |
#[allow(clippy::derive_hash_xor_eq)]
|
211 |
// Hash cannot be directly derived for floating point types; hash by actual bits of the fp values because that is what will be written in byte form.
|
207 |
// generated code.
|
208 |
#[allow(clippy::derive_hash_xor_eq)]
|
209 |
impl Hash for field::Name {
|
17 |
#[allow(clippy::derive_hash_xor_eq)]
|
18 |
impl Hash for RawSignature {
|
71 |
#[allow(clippy::derive_hash_xor_eq)]
|
72 |
impl Hash for RawSignPublicKey {
|
4 |
/// Text effect
|
5 |
#[allow(clippy::derive_hash_xor_eq)] // We do derive it through EnumSetType
|
6 |
#[derive(EnumSetType, Debug, Hash)]
|
215 |
/// represents an element of \\(\mathbb Z / \ell\\).
|
216 |
#[allow(clippy::derive_hash_xor_eq)]
|
217 |
#[derive(Copy, Clone, Hash)]
|
106 |
// Note that `clippy::derive_ord_xor_partial_ord` would be introduced since Rust 1.47.0.
|
107 |
#[allow(clippy::derive_hash_xor_eq)]
|
108 |
#[allow(unknown_lints, clippy::derive_ord_xor_partial_ord)]
|
1019 |
// Note that `clippy::derive_ord_xor_partial_ord` would be introduced since Rust 1.47.0.
|
1020 |
#[allow(clippy::derive_hash_xor_eq)]
|
1021 |
#[allow(unknown_lints, clippy::derive_ord_xor_partial_ord)]
|
47 |
// Note that `clippy::derive_ord_xor_partial_ord` would be introduced since Rust 1.47.0.
|
48 |
#[allow(clippy::derive_hash_xor_eq)]
|
49 |
#[allow(unknown_lints, clippy::derive_ord_xor_partial_ord)]
|
54 |
// Note that `clippy::derive_ord_xor_partial_ord` would be introduced since Rust 1.47.0.
|
55 |
#[allow(clippy::derive_hash_xor_eq)]
|
56 |
#[allow(unknown_lints, clippy::derive_ord_xor_partial_ord)]
|
86 |
// Note that `clippy::derive_ord_xor_partial_ord` would be introduced since Rust 1.47.0.
|
87 |
#[allow(clippy::derive_hash_xor_eq)]
|
88 |
#[allow(unknown_lints, clippy::derive_ord_xor_partial_ord)]
|
1184 |
// Note that `clippy::derive_ord_xor_partial_ord` would be introduced since Rust 1.47.0.
|
1185 |
#[allow(clippy::derive_hash_xor_eq)]
|
1186 |
#[allow(unknown_lints, clippy::derive_ord_xor_partial_ord)]
|
89 |
// Note that `clippy::derive_ord_xor_partial_ord` would be introduced since Rust 1.47.0.
|
90 |
#[allow(clippy::derive_hash_xor_eq)]
|
91 |
#[allow(unknown_lints, clippy::derive_ord_xor_partial_ord)]
|
1142 |
// Note that `clippy::derive_ord_xor_partial_ord` would be introduced since Rust 1.47.0.
|
1143 |
#[allow(clippy::derive_hash_xor_eq)]
|
1144 |
#[allow(unknown_lints, clippy::derive_ord_xor_partial_ord)]
|
48 |
// Note that `clippy::derive_ord_xor_partial_ord` would be introduced since Rust 1.47.0.
|
49 |
#[allow(clippy::derive_hash_xor_eq)]
|
50 |
#[allow(unknown_lints, clippy::derive_ord_xor_partial_ord)]
|
69 |
// Note that `clippy::derive_ord_xor_partial_ord` would be introduced since Rust 1.47.0.
|
70 |
#[allow(clippy::derive_hash_xor_eq)]
|
71 |
#[allow(unknown_lints, clippy::derive_ord_xor_partial_ord)]
|
284 |
#[allow(clippy::derive_hash_xor_eq)]
|
285 |
impl std::hash::Hash for MultiEd25519PublicKey {
|
453 |
#[allow(clippy::derive_hash_xor_eq)]
|
454 |
impl std::hash::Hash for MultiEd25519Signature {
|
285 |
#[allow(clippy::derive_hash_xor_eq)]
|
286 |
impl std::hash::Hash for MultiEd25519PublicKey {
|
462 |
#[allow(clippy::derive_hash_xor_eq)]
|
463 |
impl std::hash::Hash for MultiEd25519Signature {
|
74 |
/// ```
|
75 |
#[allow(clippy::derive_hash_xor_eq)]
|
76 |
#[derive(Hash)]
|
41 |
#[allow(clippy::derive_hash_xor_eq)]
|
42 |
impl std::hash::Hash for Rgba {
|
823 |
#[allow(clippy::derive_hash_xor_eq)] // This impl exists to change trait bounds only.
|
824 |
impl<T: EnumSetType> Hash for EnumSet<T> {
|
54 |
#[allow(clippy::derive_hash_xor_eq)]
|
55 |
impl std::hash::Hash for FontId {
|
548 |
#[allow(clippy::derive_hash_xor_eq)]
|
549 |
impl std::hash::Hash for HashableF32 {
|
152 |
/// Missing in ed25519_consensus
|
153 |
#[allow(clippy::derive_hash_xor_eq)] // ed25519_consensus's PartialEq is compatible
|
154 |
impl std::hash::Hash for Ed25519PublicKey {
|
10 |
#[allow(clippy::derive_hash_xor_eq)]
|
11 |
#[derive(Debug, Clone, Eq, Hash)]
|
29 |
#[allow(clippy::derive_hash_xor_eq)]
|
30 |
impl<T> Hash for Hashed<T> {
|
209 |
// hash is impl'd via OrderedFloat, but we still want to preserve the types
|
210 |
#[allow(clippy::derive_hash_xor_eq)]
|
211 |
impl std::hash::Hash for Extra {
|
24 |
// and allows the usage of custom Hashers that only copy a truncated ShaHash
|
25 |
#[allow(clippy::derive_hash_xor_eq)]
|
26 |
impl Hash for ObjectId {
|
21 |
#[allow(clippy::unreadable_literal)]
|
22 |
#[allow(clippy::derive_hash_xor_eq)]
|
23 |
#[allow(unused_imports)]
|
24 |
#[allow(clippy::useless_transmute)]
|
25 |
#[allow(clippy::derive_hash_xor_eq)]
|
26 |
#[allow(unused_imports)]
|
7 |
#[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
|
8 |
#[allow(clippy::derive_hash_xor_eq)] // safe because the same PartialEq impl is used everywhere
|
9 |
pub struct PackageId {
|
173 |
#[allow(clippy::derive_hash_xor_eq)]
|
174 |
// This clippy lint stresses the point that impls of Hash and PartialEq have to agree,
|
12 |
// But that is not what clippy is complaining about here.
|
13 |
#[allow(clippy::derive_hash_xor_eq)]
|
14 |
pub struct Signature(pub [u8; SIGNATURE_BYTES]);
|
116 |
// GcCell does not implement Eq because `borrow` might panic.
|
117 |
#[allow(clippy::derive_hash_xor_eq)]
|
118 |
impl Hash for Array {
|
120 |
// GcCell does not implement Eq because `borrow` might panic.
|
121 |
#[allow(clippy::derive_hash_xor_eq)]
|
122 |
impl Hash for Dict {
|
95 |
// https://github.com/informalsystems/tendermint-rs/pull/1054
|
96 |
#[allow(clippy::derive_hash_xor_eq)]
|
97 |
impl Hash for Timestamp {
|
147 |
#[cfg(feature = "std")]
|
148 |
#[allow(clippy::derive_hash_xor_eq)] // Derived logic is correct: comparing the 2 fields for equality
|
149 |
impl std::hash::Hash for Timestamp {
|
30 |
// https://github.com/informalsystems/tendermint-rs/pull/1054
|
31 |
#[allow(clippy::derive_hash_xor_eq)]
|
32 |
impl Hash for Timestamp {
|
30 |
/// combinations to exist, attempting to encode them will yield an error.
|
31 |
#[allow(clippy::derive_hash_xor_eq)]
|
32 |
#[derive(Clone, Debug, Eq, Ord, PartialOrd, Hash)]
|
406 |
#[allow(clippy::derived_hash_with_manual_eq)]
|
407 |
impl Hash for HashColor {
|
143 |
// We need this since TorPublicKeyV3 does not implement Hash
|
144 |
#[allow(clippy::derive_hash_xor_eq)]
|
145 |
impl std::hash::Hash for InetAddr {
|
406 |
// We need this since TorPublicKeyV3 does not implement Hash
|
407 |
#[allow(clippy::derive_hash_xor_eq)]
|
408 |
impl std::hash::Hash for PartialSocketAddr {
|
803 |
// We need this since TorPublicKeyV3 does not implement Hash
|
804 |
#[allow(clippy::derive_hash_xor_eq)]
|
805 |
impl std::hash::Hash for InetSocketAddr {
|
173 |
#[cfg(feature = "std")]
|
174 |
#[allow(clippy::derive_hash_xor_eq)] // Derived logic is correct: comparing the 2 feilds for equality
|
175 |
impl std::hash::Hash for Timestamp {
|
49 |
/// Equal Principals will result in equal hash, so we are fine here
|
50 |
#[allow(clippy::derive_hash_xor_eq)]
|
51 |
impl Hash for Principal {
|
61 |
#[allow(clippy::derive_hash_xor_eq)] // If the 2 pks are equal. their hashes will be equal, too
|
62 |
impl Hash for EdPublicKey {
|
87 |
#[allow(clippy::derive_hash_xor_eq)] // If the 2 pks are equal. their hashes will be equal, too
|
88 |
impl Hash for SecpPublicKey {
|
337 |
#[allow(clippy::derive_hash_xor_eq)]
|
338 |
impl std::hash::Hash for Value {
|
163 |
#[allow(clippy::derive_ord_xor_partial_ord)]
|
164 |
#[allow(clippy::derive_hash_xor_eq)]
|
165 |
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
90 |
#[allow(clippy::derive_hash_xor_eq)]
|
91 |
#[derive(Clone, Debug, Hash)]
|
98 |
#[allow(clippy::derive_hash_xor_eq)]
|
99 |
impl Hash for IMUConfig {
|
54 |
#[allow(clippy::derive_hash_xor_eq)]
|
55 |
impl<I: Hash, B: Hash> Hash for Id<I, B> {
|
11 |
#[allow(clippy::derive_hash_xor_eq)]
|
12 |
#[derive(Derivative, Clone, Hash, StrippedHash)]
|
115 |
/// using [`TryFromJson`].
|
116 |
#[allow(clippy::derive_hash_xor_eq)]
|
117 |
#[derive(Derivative, Clone, Hash, StrippedHash)]
|
13 |
#[allow(clippy::derive_hash_xor_eq)]
|
14 |
impl Hash for Import {
|
49 |
#[allow(clippy::derive_hash_xor_eq)]
|
50 |
impl Hash for Key {
|
163 |
#[allow(clippy::derive_hash_xor_eq)]
|
164 |
impl Hash for KeyOrKeyword {
|
47 |
// better than not being able to hash KdlValue at all.
|
48 |
#[allow(clippy::derive_hash_xor_eq)]
|
49 |
impl std::hash::Hash for KdlValue {
|
126 |
// Skip clippy::derive_hash_xor_eq, but it may to be resolved.
|
127 |
#[allow(clippy::derive_hash_xor_eq)]
|
128 |
impl Hash for ProviderRecord {
|
167 |
// arbitrary-precision numeric type.
|
168 |
#[allow(clippy::derive_hash_xor_eq)]
|
169 |
impl core::hash::Hash for Expr {
|
92 |
// if x_1 == x_2, then hash(x_1) == hash(x_2) obviously holds.
|
93 |
#[allow(clippy::derive_hash_xor_eq)]
|
94 |
impl Hash for EncryptionInfo {
|
229 |
/// Tracks the inbound corresponding to an outbound HTLC
|
230 |
#[allow(clippy::derive_hash_xor_eq)] // Our Hash is faithful to the data, we just don't have SecretKey::hash
|
231 |
#[derive(Clone, PartialEq, Eq)]
|
244 |
}
|
245 |
#[allow(clippy::derive_hash_xor_eq)] // Our Hash is faithful to the data, we just don't have SecretKey::hash
|
246 |
impl core::hash::Hash for HTLCSource {
|
32 |
#[allow(clippy::derive_hash_xor_eq)]
|
33 |
impl<F: PrimeField> Hash for Num<F> {
|
117 |
#[allow(clippy::derive_hash_xor_eq)]
|
118 |
impl<F: PrimeField, const N: usize> Hash for CacheKey<F, N> {
|
176 |
#[allow(clippy::derive_hash_xor_eq)]
|
177 |
impl<F: PrimeField> Hash for Ptr<F> {
|
215 |
#[allow(clippy::derive_hash_xor_eq)]
|
216 |
impl<F: PrimeField> Hash for ScalarPtr<F> {
|
256 |
#[allow(clippy::derive_hash_xor_eq)]
|
257 |
impl<F: PrimeField> Hash for ScalarContPtr<F> {
|
286 |
#[allow(clippy::derive_hash_xor_eq)]
|
287 |
impl<F: PrimeField> Hash for ContPtr<F> {
|
97 |
#[allow(clippy::derive_hash_xor_eq)]
|
98 |
impl Hash for Config {
|
10 |
#[allow(clippy::derive_hash_xor_eq)]
|
11 |
impl Hash for TcpConfig {
|
194 |
#[allow(clippy::derive_hash_xor_eq)]
|
195 |
impl Hash for MString {
|
201 |
#[allow(clippy::derive_hash_xor_eq)]
|
202 |
impl<T: Sentinel + Hash> Hash for MArray<T> {
|
270 |
// although we will never hash a HashLiteral itself.
|
271 |
#[allow(clippy::derive_hash_xor_eq)]
|
272 |
impl Hash for HashLiteral {
|
54 |
#[allow(clippy::derive_hash_xor_eq)]
|
55 |
impl Hash for Board {
|
448 |
#[allow(clippy::derive_hash_xor_eq)]
|
449 |
impl Hash for PublicKey {
|
984 |
#[allow(clippy::derive_hash_xor_eq)]
|
985 |
impl Hash for ConstantOp {
|
1427 |
#[allow(clippy::derive_hash_xor_eq)]
|
1428 |
impl Hash for FillOp {
|
249 |
// Don't hash the whole allocated space, but just the actual digest
|
250 |
#[allow(clippy::derive_hash_xor_eq)]
|
251 |
impl<const S: usize> core::hash::Hash for Multihash<S> {
|
159 |
#[allow(clippy::derive_hash_xor_eq)]
|
160 |
impl std::hash::Hash for InlineSampler {
|
74 |
#[allow(clippy::derive_hash_xor_eq)]
|
75 |
impl std::hash::Hash for Value {
|
335 |
#[allow(clippy::derive_hash_xor_eq)]
|
336 |
impl std::hash::Hash for Value {
|
82 |
// `k1 == k2 ⇒ hash(k1) == hash(k2)`.
|
83 |
#[allow(clippy::derived_hash_with_manual_eq)]
|
84 |
impl Hash for Ed25519PublicKey {
|
200 |
#[allow(clippy::derived_hash_with_manual_eq)]
|
201 |
impl Hash for Ed25519Signature {
|
249 |
// `k1 == k2 ⇒ hash(k1) == hash(k2)`.
|
250 |
#[allow(clippy::derive_hash_xor_eq)]
|
251 |
impl Hash for PublicKey {
|
239 |
// `k1 == k2 ⇒ hash(k1) == hash(k2)`.
|
240 |
#[allow(clippy::derive_hash_xor_eq)]
|
241 |
impl Hash for PublicKey {
|
28 |
// Different hash implementation than std
|
29 |
#[allow(clippy::derive_hash_xor_eq)]
|
30 |
impl Hash for BlockBody {
|
25 |
// Different hash implementation than std
|
26 |
#[allow(clippy::derive_hash_xor_eq)]
|
27 |
impl Hash for BlockHeader {}
|
100 |
// This is a different Hash than the std Hash.
|
101 |
#[allow(clippy::derive_hash_xor_eq)]
|
102 |
impl Hash for PublicKey { }
|
229 |
// Different hash implementation than std
|
230 |
#[allow(clippy::derive_hash_xor_eq)]
|
231 |
impl Hash for AccountsTreeNode {}
|
188 |
// Different hash implementation than std
|
189 |
#[allow(clippy::derive_hash_xor_eq)]
|
190 |
impl Hash for AddressNibbles {}
|
200 |
#[allow(clippy::derive_hash_xor_eq)]
|
201 |
impl Hash for QueryGraph {
|
126 |
#[allow(clippy::derive_hash_xor_eq)]
|
127 |
impl Hash for PublicKey {
|
169 |
#[allow(clippy::derive_hash_xor_eq)]
|
170 |
impl Hash for VariantMap {
|
438 |
#[allow(clippy::derive_hash_xor_eq)]
|
439 |
impl Hash for Row {
|
529 |
#[allow(clippy::derive_hash_xor_eq)]
|
530 |
impl std::hash::Hash for DebugDoc {
|
57 |
#[allow(clippy::derive_hash_xor_eq)]
|
58 |
impl Hash for BlobCacheMgrKey {
|
12 |
/// An identifier of an Identity.
|
13 |
#[allow(clippy::derive_hash_xor_eq)] // we manually implement a constant time Eq
|
14 |
#[derive(Clone, Debug, Hash, Encode, Serialize, Default, PartialOrd, Ord)]
|
101 |
#[allow(clippy::derive_hash_xor_eq)]
|
102 |
impl std::hash::Hash for NumberSchema {
|
134 |
#[allow(clippy::derive_hash_xor_eq)]
|
135 |
impl Hash for ObjectSchema {
|
159 |
#[allow(clippy::derive_hash_xor_eq)]
|
160 |
impl Hash for ArraySchema {
|
977 |
#[allow(clippy::derive_hash_xor_eq)]
|
978 |
impl<T: Float> Hash for NotNan<T> {
|
34 |
#[allow(clippy::derive_hash_xor_eq)]
|
35 |
impl Hash for Flow {
|
10 |
#[allow(clippy::too_many_arguments)]
|
11 |
#[allow(clippy::derive_hash_xor_eq)]
|
12 |
#[allow(unused_imports)]
|
15 |
#[allow(clippy::derived_hash_with_manual_eq)]
|
16 |
#[derive(Clone, Debug, Hash)]
|
371 |
// to check if we can cache a file
|
372 |
#[allow(clippy::derive_hash_xor_eq)]
|
373 |
impl Hash for Expr {
|
286 |
#[cfg(feature = "std")]
|
287 |
#[allow(clippy::derive_hash_xor_eq)] // Derived logic is correct: comparing the 2 fields for equality
|
288 |
impl std::hash::Hash for Timestamp {
|
286 |
#[cfg(feature = "std")]
|
287 |
#[allow(clippy::derive_hash_xor_eq)] // Derived logic is correct: comparing the 2 fields for equality
|
288 |
impl std::hash::Hash for Timestamp {
|
546 |
#[allow(clippy::derive_hash_xor_eq)]
|
547 |
impl std::hash::Hash for MessageIdData {
|
190 |
#[allow(clippy::derive_hash_xor_eq)]
|
191 |
impl Hash for PublicKey {
|
420 |
#[allow(clippy::derive_hash_xor_eq)]
|
421 |
impl Hash for Secp256K1SecretKey {
|
427 |
#[allow(clippy::derive_hash_xor_eq)]
|
428 |
impl Hash for ED25519SecretKey {
|
91 |
#[allow(clippy::derive_hash_xor_eq)]
|
92 |
impl<T: hash::Hash> hash::Hash for Partial<T> {
|
108 |
/// Used for an endpoint to securely communicate that it has lost state for a connection.
|
109 |
#[allow(clippy::derive_hash_xor_eq)] // Custom PartialEq impl matches derived semantics
|
110 |
#[derive(Debug, Copy, Clone, Hash)]
|
31 |
impl std::cmp::Eq for Connection {}
|
32 |
#[allow(clippy::derive_hash_xor_eq)]
|
33 |
impl Hash for Connection {
|
48 |
#[allow(clippy::derive_hash_xor_eq)]
|
49 |
impl std::hash::Hash for Point {
|
37 |
#[allow(clippy::derive_hash_xor_eq)]
|
38 |
impl Hash for Signature {
|
134 |
#[allow(clippy::derive_hash_xor_eq)]
|
135 |
impl Hash for SignerID {
|
182 |
#[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))]
|
183 |
#[allow(clippy::derive_hash_xor_eq)]
|
184 |
#[derive(Debug, Clone)]
|
327 |
#[allow(clippy::derive_ord_xor_partial_ord)]
|
328 |
#[allow(clippy::derive_hash_xor_eq)]
|
329 |
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
75 |
#[allow(clippy::derive_hash_xor_eq)]
|
76 |
impl<W: Semiring + Hash + Eq> Hash for FstPath<W> {
|
110 |
#[allow(clippy::derive_hash_xor_eq)]
|
111 |
impl Hash for CandidateInfo {
|
20 |
// Hash can still be derived.
|
21 |
#[allow(clippy::derive_hash_xor_eq)]
|
22 |
#[derive(Copy, Clone, Debug, Eq, Hash)]
|
180 |
#[allow(clippy::derive_hash_xor_eq)]
|
181 |
impl Hash for PublicId {
|
101 |
#[allow(clippy::derive_hash_xor_eq)]
|
102 |
impl Hash for PublicKey {
|
242 |
#[allow(clippy::derive_hash_xor_eq)]
|
243 |
impl Hash for Signature {
|
97 |
#[allow(clippy::derive_hash_xor_eq)]
|
98 |
impl Hash for Ed25519Proof {
|
64 |
#[allow(clippy::derive_hash_xor_eq)]
|
65 |
impl std::hash::Hash for Class {
|
108 |
#[allow(clippy::derive_hash_xor_eq)]
|
109 |
impl<B: BlockT> Hash for SeenRequestsKey<B> {
|
94 |
#[allow(clippy::derive_hash_xor_eq)]
|
95 |
impl<B: BlockT> Hash for SeenRequestsKey<B> {
|
44 |
#[allow(clippy::derive_hash_xor_eq)]
|
45 |
impl Hash for InherentEntry {
|
657 |
// ensure that secrets are compared in constant-time.
|
658 |
#[allow(clippy::derive_hash_xor_eq)]
|
659 |
#[non_exhaustive]
|
181 |
/// does this implementation correct?
|
182 |
#[allow(clippy::derive_hash_xor_eq)]
|
183 |
impl Hash for Value {
|
307 |
#[allow(clippy::derived_hash_with_manual_eq)]
|
308 |
impl Hash for Mapping {
|
520 |
// all other hash functions should work as expected
|
521 |
#[allow(clippy::derived_hash_with_manual_eq)]
|
522 |
impl Hash for Number {
|
139 |
#[allow(clippy::derive_hash_xor_eq)]
|
140 |
impl Hash for Mapping {
|
529 |
// all other hash functions should work as expected
|
530 |
#[allow(clippy::derive_hash_xor_eq)]
|
531 |
impl Hash for Number {
|
156 |
#[allow(clippy::derive_hash_xor_eq)]
|
157 |
impl Hash for PublicKey {
|
88 |
#[allow(clippy::derive_hash_xor_eq)]
|
89 |
impl Hash for Signature {
|
150 |
#[allow(clippy::derive_hash_xor_eq)]
|
151 |
impl Hash for PublicKey {
|
105 |
#[allow(clippy::derive_hash_xor_eq)]
|
106 |
impl std::hash::Hash for AccountMeta {
|
46 |
#[allow(clippy::derive_hash_xor_eq)]
|
47 |
impl std::hash::Hash for Hsl {
|
48 |
#[allow(clippy::derive_hash_xor_eq)]
|
49 |
impl std::hash::Hash for Hsla {
|
46 |
#[allow(clippy::derive_hash_xor_eq)]
|
47 |
impl std::hash::Hash for Hsv {
|
48 |
#[allow(clippy::derive_hash_xor_eq)]
|
49 |
impl std::hash::Hash for Hsva {
|
46 |
#[allow(clippy::derive_hash_xor_eq)]
|
47 |
impl std::hash::Hash for Rgb {
|
48 |
#[allow(clippy::derive_hash_xor_eq)]
|
49 |
impl std::hash::Hash for Rgba {
|
178 |
// Don't hash the whole allocated space, but just the actual digest
|
179 |
#[allow(clippy::derive_hash_xor_eq)]
|
180 |
impl<const S: usize> core::hash::Hash for Multihash<S> {
|
211 |
/// This will always agree with the compiler-derived `PartialEq` implementation
|
212 |
#[allow(clippy::derive_hash_xor_eq)]
|
213 |
impl Hash for Char {
|
161 |
// We deliberately know that this is a hash and value, so our Eq/Hash are fine
|
162 |
#[allow(clippy::derive_hash_xor_eq)]
|
163 |
impl<K> Hash for Hashed<K> {
|
897 |
struct K(i32);
|
898 |
#[allow(clippy::derive_hash_xor_eq)]
|
899 |
impl Hash for K {
|
145 |
// if x_1 == x_2, then hash(x_1) == hash(x_2) obviously holds.
|
146 |
#[allow(clippy::derive_hash_xor_eq)]
|
147 |
impl Hash for EncryptionInfo {
|
154 |
#[allow(clippy::derive_hash_xor_eq)]
|
155 |
impl<T> hash::Hash for String<T>
|
4 |
#[allow(clippy::derived_hash_with_manual_eq)]
|
5 |
#[derive(Debug, Hash, Deserialize, Serialize, Clone)]
|
3 |
#[allow(clippy::derived_hash_with_manual_eq)]
|
4 |
/// Simple stats to help picking the best endpoint
|
43 |
// But this is good enough for comparing values for equality in our case.
|
44 |
#[allow(clippy::derive_hash_xor_eq)]
|
45 |
impl Hash for MatrixValue {
|
23 |
// But this is good enough for comparing values for equality in our case.
|
24 |
#[allow(clippy::derive_hash_xor_eq)]
|
25 |
impl Hash for PathValue {
|
22 |
// But this is good enough for comparing values for equality in our case.
|
23 |
#[allow(clippy::derive_hash_xor_eq)]
|
24 |
impl Hash for ViewBoxValue {
|
165 |
#[allow(clippy::derive_hash_xor_eq)]
|
166 |
#[allow(clippy::transmute_float_to_int)]
|
359 |
#[allow(clippy::derive_hash_xor_eq)]
|
360 |
#[allow(clippy::transmute_float_to_int)]
|
357 |
#[allow(clippy::derive_hash_xor_eq)]
|
358 |
#[allow(clippy::transmute_float_to_int)]
|
79 |
/// An interned string with O(1) equality.
|
80 |
#[allow(clippy::derive_hash_xor_eq)]
|
81 |
#[cfg_attr(feature = "serde", derive(serde::Serialize))]
|
3 |
#[allow(clippy::derive_hash_xor_eq)]
|
4 |
impl Hash for CssBundle {
|
6 |
#[allow(clippy::derive_hash_xor_eq)]
|
7 |
#[derive(Debug, Clone, Hash)]
|
131 |
#[allow(clippy::derive_hash_xor_eq)]
|
132 |
impl std::hash::Hash for MerkleCheckPoint {
|
23 |
/// Node IDs
|
24 |
#[allow(clippy::derive_hash_xor_eq)]
|
25 |
#[derive(Copy, Clone, Eq, Hash, PartialOrd, Ord)]
|
214 |
/// represents an element of \\(\mathbb Z / \ell\\).
|
215 |
#[allow(clippy::derive_hash_xor_eq)]
|
216 |
#[derive(Copy, Clone, Hash)]
|
176 |
#[cfg(feature = "std")]
|
177 |
#[allow(clippy::derive_hash_xor_eq)]
|
178 |
impl core::hash::Hash for Cid {
|
247 |
// floats should not be hashed anyway
|
248 |
#[allow(clippy::derive_hash_xor_eq)]
|
249 |
impl Hash for Number {
|
29 |
#[derive(Clone, Copy, Hash, PartialOrd, Ord)]
|
30 |
#[allow(clippy::derive_hash_xor_eq)]
|
31 |
pub struct Ed25519Identity {
|
34 |
#[derive(Clone, Copy, Hash, Ord, PartialOrd)]
|
35 |
#[allow(clippy::derive_hash_xor_eq)]
|
36 |
pub struct RsaIdentity {
|
28 |
#[allow(clippy::large_enum_variant)] // FIXME ?
|
29 |
#[allow(clippy::derive_hash_xor_eq)] // FIXME. this one may be pretty bad. how about a.canonical() == b.canonical() ? need proper canonicalizeation of Reshape
|
30 |
pub enum AxisOp {
|
66 |
#[allow(clippy::derive_hash_xor_eq)]
|
67 |
impl Hash for QParams {
|
16 |
#[allow(clippy::derive_hash_xor_eq)]
|
17 |
impl Hash for Scaler {
|
32 |
#[allow(clippy::derive_hash_xor_eq)]
|
33 |
impl Hash for PublicKeyHashable {
|
185 |
#[allow(clippy::derive_hash_xor_eq)]
|
186 |
impl Hash for ID {
|
166 |
#[allow(clippy::derive_hash_xor_eq)]
|
167 |
impl hash::Hash for ValidAlign {
|
429 |
// be terrible unless the Hasher in question is expecting a precomputed hash.
|
430 |
#[allow(clippy::derive_hash_xor_eq)]
|
431 |
impl Hash for Ustr {
|
56 |
#[allow(clippy::derive_hash_xor_eq)]
|
57 |
impl Hash for Key {
|
22 |
/// [`cranelift-native`]: https://github.com/bytecodealliance/cranelift/blob/6988545fd20249b084c53f4761b8c861266f5d31/cranelift-native/src/lib.rs#L51-L92
|
23 |
#[allow(missing_docs, clippy::derive_hash_xor_eq)]
|
24 |
#[derive(EnumSetType, Debug, Hash)]
|
30 |
/// [`cranelift-native`]: https://github.com/bytecodealliance/cranelift/blob/6988545fd20249b084c53f4761b8c861266f5d31/cranelift-native/src/lib.rs#L51-L92
|
31 |
#[allow(missing_docs, clippy::derive_hash_xor_eq)]
|
32 |
#[derive(EnumSetType, Debug, Hash)]
|
43 |
#[allow(clippy::derive_hash_xor_eq)]
|
44 |
impl Hash for Coefs {
|
22 |
// consistency of the latter is all that matters for `Borrow` consumers.
|
23 |
#[allow(clippy::derive_hash_xor_eq)]
|
24 |
impl Hash for Bytes {
|
450 |
#[allow(clippy::derive_hash_xor_eq)]
|
451 |
impl Hash for PublicKey {
|
17 |
#[allow(clippy::derive_hash_xor_eq)] // for now
|
18 |
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
131 |
// UNSAFE
|
132 |
#[allow(clippy::derive_hash_xor_eq)] // for now
|
133 |
impl Hash for Types {
|
40 |
#[allow(clippy::derived_hash_with_manual_eq)] // HashMap::eq is implemented properly.
|
41 |
impl Hash for Object {
|
151 |
#[allow(clippy::derive_hash_xor_eq)]
|
152 |
impl Hash for SocketEndpoint {
|
338 |
#[allow(clippy::derive_hash_xor_eq)]
|
339 |
impl Hash for RationalExpression {
|
4 |
// `blstrs` types don't implement `Hash`, so we can't derive it.
|
5 |
#![allow(clippy::derive_hash_xor_eq)]
|
6 |
#![warn(missing_docs)]
|
3 |
#![allow(clippy::unusual_byte_groupings)]
|
4 |
#![allow(clippy::derive_hash_xor_eq)]
|
5 |
#![allow(clippy::assertions_on_constants)]
|
6 |
#![allow(clippy::cyclomatic_complexity)] // large project
|
7 |
#![allow(clippy::derive_hash_xor_eq)] // there's an intentional incoherence
|
8 |
#![allow(clippy::explicit_into_iter_loop)] // explicit loops are clearer
|
21 |
clippy::cast_possible_truncation,
|
22 |
clippy::derive_hash_xor_eq,
|
23 |
clippy::filter_map
|
17 |
clippy::useless_format,
|
18 |
clippy::derive_hash_xor_eq,
|
19 |
clippy::unused_io_amount,
|
1 |
#![deny(rust_2018_idioms)]
|
2 |
#![allow(clippy::derive_hash_xor_eq)]
|
3 |
#![allow(broken_intra_doc_links)]
|
4 |
#![allow(clippy::derive_hash_xor_eq)]
|
5 |
clippy::many_single_char_names,
|
6 |
clippy::derive_hash_xor_eq
|
7 |
)]
|
11 |
#![allow(clippy::derive_hash_xor_eq)]
|
28 |
#![allow(clippy::trivially_copy_pass_by_ref)]
|
29 |
#![allow(clippy::derive_hash_xor_eq)]
|
44 |
clippy::unusual_byte_groupings,// I sometimes group into UTF-8 control part and codepoint part
|
45 |
clippy::derive_hash_xor_eq,// tested
|
46 |
clippy::len_without_is_empty,// the character types are never empty
|
1 |
#![allow(clippy::derive_hash_xor_eq)] // We need to impl Hash for f32, but we don't implement Eq, which is fine
|
1 |
#![allow(clippy::derive_hash_xor_eq)] // We need to impl Hash for f32, but we don't implement Eq, which is fine
|
3 |
//! Type(コンパイラ等で使われる「型」を表現する)を定義する
|
4 |
#![allow(clippy::derive_hash_xor_eq)]
|
5 |
#![allow(clippy::large_enum_variant)]
|
3 |
//! Type(コンパイラ等で使われる「型」を表現する)を定義する
|
4 |
#![allow(clippy::derive_hash_xor_eq)]
|
5 |
#![allow(clippy::large_enum_variant)]
|
63 |
impl Hash for LocalStreamId {
|
64 |
#![allow(clippy::derive_hash_xor_eq)]
|
65 |
fn hash<H: Hasher>(&self, state: &mut H) {
|
4 |
#![allow(clippy::type_complexity)]
|
5 |
#![allow(clippy::derive_hash_xor_eq)]
|
6 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
4 |
clippy::never_loop,
|
5 |
clippy::derive_hash_xor_eq,
|
6 |
)]
|
1 |
#![allow(clippy::derive_hash_xor_eq)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::derive_hash_xor_eq)]
|
5 |
#![allow(clippy::too_many_arguments)]
|
7 |
#![allow(clippy::type_complexity)]
|
8 |
#![allow(clippy::derive_hash_xor_eq)]
|
9 |
#![allow(clippy::too_many_arguments)]
|
3 |
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
4 |
#![allow(clippy::derive_hash_xor_eq)]
|
5 |
#![allow(clippy::non_send_fields_in_send_ty)]
|
67 |
impl Hash for LocalStreamId {
|
68 |
#![allow(clippy::derive_hash_xor_eq)]
|
69 |
fn hash<H: Hasher>(&self, state: &mut H) {
|
63 |
impl Hash for LocalStreamId {
|
64 |
#![allow(clippy::derive_hash_xor_eq)]
|
65 |
fn hash<H: Hasher>(&self, state: &mut H) {
|
1 |
#![allow(
|
2 |
clippy::derive_hash_xor_eq,
|
3 |
clippy::should_implement_trait,
|
6 |
#![allow(clippy::useless_format)]
|
7 |
#![allow(clippy::derive_hash_xor_eq)]
|
1 |
#![allow(clippy::derive_hash_xor_eq)]
|
2 |
//! Miscellaneous needful oead types.
|
146 |
clippy::derive_partial_eq_without_eq,
|
147 |
clippy::derived_hash_with_manual_eq,
|
148 |
clippy::doc_markdown,
|
15 |
// TODO: check https://rust-lang.github.io/rust-clippy/master/index.html#derive_hash_xor_eq
|
16 |
#![allow(clippy::derive_hash_xor_eq)]
|
17 |
#![allow(clippy::missing_panics_doc)]
|
116 |
// differ would be if the table entry changed between invocations, and that would be really bad.
|
117 |
#![allow(clippy::derive_hash_xor_eq)]
|
63 |
impl Hash for LocalStreamId {
|
64 |
#![allow(clippy::derive_hash_xor_eq)]
|
65 |
fn hash<H: Hasher>(&self, state: &mut H) {
|
4 |
// `pairing::bls12_381` types don't implement `Hash`, so we can't derive it.
|
5 |
#![allow(clippy::derive_hash_xor_eq)]
|
6 |
// When using the mocktography, the resulting field elements become wrapped `u32`s, suddenly
|
4 |
// `pairing::bls12_381` types don't implement `Hash`, so we can't derive it.
|
5 |
#![allow(clippy::derive_hash_xor_eq)]
|
6 |
#![warn(missing_docs)]
|
11 |
#![allow(clippy::derive_hash_xor_eq)]
|
6 |
#![allow(clippy::cognitive_complexity)] // large project
|
7 |
#![allow(clippy::derive_hash_xor_eq)] // there's an intentional incoherence
|
8 |
#![allow(clippy::explicit_into_iter_loop)] // explicit loops are clearer
|