Commit Graph

88 Commits

Author SHA1 Message Date
Matthias Beyer eaea2a50bd
Fix clippy: Derive Eq for Form
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 19:04:15 +01:00
Matthias Beyer 4cadd9b937
Fix clippy: Derive Eq for Data
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 19:04:11 +01:00
Matthias Beyer 9cec1a7384
Fix clippy: Derive Eq for Data
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 19:04:05 +01:00
Matthias Beyer fcb8dc9e07
Fix clippy: Derive Eq for Keys
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 19:03:57 +01:00
Matthias Beyer 31ad0beec1
Fix clippy: Derive Eq for Subscription
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 19:03:43 +01:00
Matthias Beyer bb31b91933
Fix clippy: Derive Eq for Subscription
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 19:03:24 +01:00
Matthias Beyer 8ee0de9a6f
Fix clippy: Derive Eq for Alerts
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 19:03:11 +01:00
Matthias Beyer b97dc8ca3e
Fix: Tag type is not able to derive Eq
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 19:01:54 +01:00
Matthias Beyer adac287450
Fix: Notification type is not able to derive Eq
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 19:01:42 +01:00
Matthias Beyer 998c477818
Fix clippy: Derive Eq for NotificationType
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 19:01:06 +01:00
Matthias Beyer 0ba5ca3599
Fix clippy: Derive Eq for Relationship
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 19:00:32 +01:00
Matthias Beyer 6c65b022ff
Fix clippy: Derive Eq for Report
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 19:00:10 +01:00
Matthias Beyer afe132ae5b
Fix clippy: Derive Eq for TagHistory
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:59:18 +01:00
Matthias Beyer 759f651c4f
Fix clippy: Derive Eq for Application
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:59:13 +01:00
Matthias Beyer a7165cd695
Fix clippy: Derive Eq for Emoji
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:59:08 +01:00
Matthias Beyer 28ae442565
Fix clippy: Derive Eq for Mention
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:59:01 +01:00
Matthias Beyer 3f70aba8bd
Fix clippy: Derive Eq for UpdateCredsRequest
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:58:29 +01:00
Matthias Beyer a383625210
Fix clippy: Derive Eq for Credentials
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:56:42 +01:00
Matthias Beyer fea0a25b9a
Fix clippy: Derive Eq for UpdateSource
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:56:34 +01:00
Matthias Beyer f79c0980c7
Fix clippy: Derive Eq for BoolOrString
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:56:26 +01:00
Matthias Beyer bc144c5a65
Fix clippy: Derive Eq for Source
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:56:18 +01:00
Matthias Beyer 8572585774
Fix clippy: Derive Eq for MetadataField
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:53:09 +01:00
Matthias Beyer e53ef65d6d
Fix clippy: Derive Eq for Empty
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:52:43 +01:00
Matthias Beyer 3757ab90b8
Fix clippy: Derive Eq for UpdatePushRequest
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:52:16 +01:00
Matthias Beyer 3e7bd2605f
Fix clippy: Derive Eq for AddPushRequest
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:51:56 +01:00
Matthias Beyer e0b686fb27
Fix clippy: Derive Eq for Keys
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:51:45 +01:00
Matthias Beyer cb4c0c24a9
Fix clippy: Derive Eq for StatusesRequest
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:50:58 +01:00
Matthias Beyer 2ac63466d1
Fix clippy: Derive Eq for NewStatus
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:50:12 +01:00
Matthias Beyer 1a8524f4fe
Fix clippy: Derive Eq for StatusBuilder
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:48:52 +01:00
Matthias Beyer 781b8a0b2e
Fix clippy: Derive Eq for Visibility
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:48:14 +01:00
Matthias Beyer fa72eb1bd4
Fix clippy: Remove unnecessary closure
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 17:23:22 +01:00
Matthias Beyer b8a98da958
Add workflow job for running clippy on codebase
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 16:32:04 +01:00
Matthias Beyer 6389141015
Fix: Use $crate instead of crate in macro
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:56:19 +01:00
Matthias Beyer f280c4b8fa
Fix clippy: Remove unnecessary lifetime specifier
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:55:59 +01:00
Matthias Beyer 1d86f122d3
Allow redundant field names in macros
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:55:36 +01:00
Matthias Beyer 691117e1cb
Fix clippy: Remove uneccessary closure
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:52:27 +01:00
Matthias Beyer b46ec54cc4
Fix clippy: Remove unecessary ? and Ok() wrapping
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:52:06 +01:00
Matthias Beyer 19e4878460
Fix clippy: Replace manual return with ? operator
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:51:30 +01:00
Matthias Beyer e76fff06d9
Fix clippy: Replace str with char as pattern
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:50:49 +01:00
Matthias Beyer af63e75e5d
Fix clippy: Remove unneeded reference
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:50:28 +01:00
Matthias Beyer 34932cb295
Fix clippy: Implement From instead of Into
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:49:55 +01:00
Matthias Beyer 607d86219c
Fix clippy: Remove unneeded clone() calls
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:47:42 +01:00
Matthias Beyer 524c246972
Fix clippy: Remove unnecessary reference
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:46:58 +01:00
Matthias Beyer edad6082a1
Fix clippy: Remove manual copying in iterator
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:46:40 +01:00
Matthias Beyer e933f1efec
Fix clippy: Explicitely implement PartialOrd
This patch fixes `clippy::derive_ord_xor_partial_ord` by implementing
PartialOrd manually instead of deriving it.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:45:44 +01:00
Matthias Beyer e19070f935
Fix clippy: Remove unneeded clone() call
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:44:07 +01:00
Matthias Beyer d7453454b3
Fix clippy: Remove unneeded reference
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:43:37 +01:00
Matthias Beyer 6bdc0fea5a
Fix clippy: Remove unneeded return statement
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:43:08 +01:00
Scott Boggs 40d5277c1c
Merge pull request #10 from ckruse/fix/magic-disabled
compilation fails if magic is disabled because `self.magic` is not available
2022-12-27 07:25:11 -05:00
Christian Kruse e0ba85ea1b if magic is disabled `self.magic` is not available
and thus compilation fails with `if cfg!()` construct
2022-12-27 08:22:10 +01:00