mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-24 17:03:43 +03:00
Remove unused dependency and simple feature, update dependencies and fix some clippy lints
This commit is contained in:
28 files changed
+229
-303
No files matched your search
@@ -121,7 +121,6 @@ impl User {
|
||||
use super::{Cipher, Device, Folder, TwoFactor, UserOrgType, UserOrganization};
|
||||
use crate::db::schema::{invitations, users};
|
||||
use crate::db::DbConn;
|
||||
use diesel;
|
||||
use diesel::prelude::*;
|
||||
|
||||
use crate::api::EmptyResult;
|
||||
@@ -275,7 +274,7 @@ pub struct Invitation {
|
||||
}
|
||||
|
||||
impl Invitation {
|
||||
pub fn new(email: String) -> Self {
|
||||
pub const fn new(email: String) -> Self {
|
||||
Self { email }
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user