Run cargo clippy on whole project (#322)
* Run cargo clippy on plume-common Run clippy on plume-common and adjuste code accordingly * Run cargo clippy on plume-model Run clippy on plume-model and adjuste code accordingly * Reduce need for allocation in plume-common * Reduce need for allocation in plume-model add a quick compilation failure if no database backend is enabled * Run cargo clippy on plume-cli * Run cargo clippy on plume
This commit is contained in:
@@ -13,11 +13,11 @@ use users::User;
|
||||
use Connection;
|
||||
|
||||
pub mod notification_kind {
|
||||
pub const COMMENT: &'static str = "COMMENT";
|
||||
pub const FOLLOW: &'static str = "FOLLOW";
|
||||
pub const LIKE: &'static str = "LIKE";
|
||||
pub const MENTION: &'static str = "MENTION";
|
||||
pub const RESHARE: &'static str = "RESHARE";
|
||||
pub const COMMENT: &str = "COMMENT";
|
||||
pub const FOLLOW: &str = "FOLLOW";
|
||||
pub const LIKE: &str = "LIKE";
|
||||
pub const MENTION: &str = "MENTION";
|
||||
pub const RESHARE: &str = "RESHARE";
|
||||
}
|
||||
|
||||
#[derive(Clone, Queryable, Identifiable, Serialize)]
|
||||
|
||||
Reference in New Issue
Block a user