Skip to content

Commit

Permalink
fmt the code
Browse files Browse the repository at this point in the history
  • Loading branch information
wangkirin committed Mar 20, 2024
1 parent fa2b5be commit 8baac39
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/assets.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::prelude::*;
use mime:: Mime;
use mime::Mime;
use serde::Serialize;
use std::borrow::Cow;
use std::collections::HashMap;
Expand Down
4 changes: 1 addition & 3 deletions src/db/migrations.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use crate::prelude::*;
use rand::{
distributions::{Alphanumeric, DistString},
};
use rand::distributions::{Alphanumeric, DistString};
use rusqlite::{Connection, Transaction};
use std::collections::HashSet;

Expand Down
1 change: 0 additions & 1 deletion src/utils/serialize.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use serde::ser::{Serialize, SerializeSeq, Serializer};


pub fn to_vec<S, T>(data: T, serializer: S) -> Result<S::Ok, S::Error>
where
S: Serializer,
Expand Down

0 comments on commit 8baac39

Please sign in to comment.