Thanks clippy :)
This commit is contained in:
parent
1ac042ebee
commit
29b5f5fc63
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
default_job = "clippy"
|
||||
|
||||
[jobs.clippy]
|
||||
command = ["cargo", "clippy", "-q", "--all-targets", "--color", "always", "--workspace"]
|
||||
command = ["cargo", "clippy", "--all-targets", "--color", "always", "--workspace"]
|
||||
need_stdout = false
|
||||
watch = ["tests", "benches", "examples", "crates", "templates"]
|
||||
|
|
|
@ -14,7 +14,7 @@ pub struct PersistantFieldContents {
|
|||
}
|
||||
|
||||
impl PersistantFieldContents {
|
||||
pub fn new_empty(custom_fields: &Vec<CustomField>) -> Self {
|
||||
pub fn new_empty(custom_fields: &[CustomField]) -> Self {
|
||||
Self {
|
||||
name: String::default(),
|
||||
email: String::default(),
|
||||
|
|
Loading…
Reference in a new issue