mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-22 03:21:01 +00:00
Follow clippy
This commit is contained in:
parent
d6ee49b880
commit
29055d1957
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ pub fn create(
|
|||
Ok(_) => ValidationErrors::new(),
|
||||
Err(e) => e,
|
||||
};
|
||||
if Blog::find_by_fqn(&conn, &slug).is_ok() {
|
||||
if Blog::find_by_fqn(&conn, slug).is_ok() {
|
||||
errors.add(
|
||||
"title",
|
||||
ValidationError {
|
||||
|
|
Loading…
Reference in a new issue