Some formatting of post.rs
This commit is contained in:
parent
aace1bd71e
commit
8ee6f852cb
1 changed files with 15 additions and 8 deletions
|
@ -1,4 +1,11 @@
|
|||
use crate::{naive_now, schema::{post, post_like, post_read, post_saved}, Crud, Likeable, Saveable, Readable};
|
||||
use crate::{
|
||||
naive_now,
|
||||
schema::{post, post_like, post_read, post_saved},
|
||||
Crud,
|
||||
Likeable,
|
||||
Readable,
|
||||
Saveable,
|
||||
};
|
||||
use diesel::{dsl::*, result::Error, *};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use url::{ParseError, Url};
|
||||
|
|
Loading…
Reference in a new issue