mirror of
https://gitlab.gnome.org/World/Authenticator.git
synced 2025-03-04 08:44:40 +01:00
Prefer using prelude for diesel
This commit is contained in:
parent
f0a5443d97
commit
abcd47fe88
2 changed files with 2 additions and 5 deletions
|
@ -1,10 +1,7 @@
|
||||||
use core::cmp::Ordering;
|
use core::cmp::Ordering;
|
||||||
|
|
||||||
use anyhow::{Context, Result};
|
use anyhow::{Context, Result};
|
||||||
use diesel::{
|
use diesel::prelude::*;
|
||||||
Associations, BelongingToDsl, ExpressionMethods, Identifiable, Insertable, QueryDsl, Queryable,
|
|
||||||
RunQueryDsl,
|
|
||||||
};
|
|
||||||
use gtk::{
|
use gtk::{
|
||||||
glib::{self, clone},
|
glib::{self, clone},
|
||||||
prelude::*,
|
prelude::*,
|
||||||
|
|
|
@ -6,7 +6,7 @@ use std::{
|
||||||
};
|
};
|
||||||
|
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use diesel::{ExpressionMethods, Identifiable, Insertable, QueryDsl, Queryable, RunQueryDsl};
|
use diesel::prelude::*;
|
||||||
use gtk::{
|
use gtk::{
|
||||||
gdk_pixbuf, gio,
|
gdk_pixbuf, gio,
|
||||||
glib::{self, clone},
|
glib::{self, clone},
|
||||||
|
|
Loading…
Add table
Reference in a new issue