summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2021-01-15Fix clippy: constants have by default a `'static` lifetimeMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: this `if` statement can be collapsedMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: this `else { if .. }` block can be collapsedMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: this `else { if .. }` block can be collapsedMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: this `else { if .. }` block can be collapsedMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: this import is redundantMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: this `else { if .. }` block can be collapsedMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: redundant field names in struct initializationMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Allow module inception in this instanceMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Allow module inception in this instanceMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Allow module inception in this instanceMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Allow module inception in this instanceMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: this `else { if .. }` block can be collapsedMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: useless lint attributeMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Allow too many arguments for crate::commands::build()Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: `.map().collect()` can be replaced with `.try_for_each()`Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: useless use of `format!`Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: `.map().collect()` can be replaced with `.try_for_each()`Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: unneeded `return` statementMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: redundant cloneMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: useless use of `format!`Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: field assignment outside of initializer for an instance created ↵Matthias Beyer
with Default::default() Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: field assignment outside of initializer for an instance created ↵Matthias Beyer
with Default::default() Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: `.map().collect()` can be replaced with `.try_for_each()`Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Allow identity operation here to be more expressiveMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: `.map().collect()` can be replaced with `.try_for_each()`Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: `.map().collect()` can be replaced with `.try_for_each()`Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: `.map().collect()` can be replaced with `.try_for_each()`Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: writing `&Vec<_>` instead of `&[_]` involves one more reference ↵Matthias Beyer
and cannot be used with non-Vec-based slices Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: called `filter(..).next()` on an `Iterator`. This is more ↵Matthias Beyer
succinctly expressed by calling `.find(..)` instead Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Allow too many arguments for crate::db::models::Job::create()Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: using `clone` on a `Copy` typeMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: useless conversion to the same type: `anyhow::Error`Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix style: Remove trailing whitespaceMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: calls to `std::mem::drop` with a reference instead of an owned ↵Matthias Beyer
value. Dropping a reference does nothing Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: redundant closure foundMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: writing `&Vec<_>` instead of `&[_]` involves one more reference ↵Matthias Beyer
and cannot be used with non-Vec-based slices Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: explicit lifetimes given in parameter types where they could be ↵Matthias Beyer
elided Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: this `.into_iter()` call is equivalent to `.iter()` and will not ↵Matthias Beyer
consume the `Vec` Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: called `.as_ref().map(String::deref)` on an Option value. This ↵Matthias Beyer
can be done more directly by calling `msg.as_deref()` instead Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: useless conversion to the same type: `anyhow::Error`Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: writing `&Vec<_>` instead of `&[_]` involves one more reference ↵Matthias Beyer
and cannot be used with non-Vec-based slices Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: this `.into_iter()` call is equivalent to `.iter()` and will not ↵Matthias Beyer
consume the `Vec` Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: `.map().collect()` can be replaced with `.try_for_each()`Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: writing `&Vec<_>` instead of `&[_]` involves one more reference ↵Matthias Beyer
and cannot be used with non-Vec-based slices Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: redundant cloneMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: redundant closure foundMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: useless conversion to the same type: `std::vec::Vec<u8>`Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: useless use of `format!`Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-01-15Fix clippy: using `clone` on a `Copy` typeMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>