Skip to content

Commit

Permalink
chore: replace serde fmt rexport with std::fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
oknozor committed Jan 19, 2021
1 parent 635a043 commit b0ef1ef
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/conventional/commit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use anyhow::Result;
use chrono::{NaiveDateTime, Utc};
use colored::*;
use git2::Commit as Git2Commit;
use serde::export::Formatter;
use std::fmt::Formatter;
use std::cmp::Ordering;
use std::fmt;

Expand Down
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::git::status::Statuses;
use colored::*;
use serde::export::Formatter;
use std::fmt::Formatter;
use std::fmt;
use thiserror::Error;

Expand Down
2 changes: 1 addition & 1 deletion src/git/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::git::status::Changes::{Deleted, Modified, New, Renamed, TypeChange};
use colored::*;
use git2::StatusEntry as Git2StatusEntry;
use git2::Statuses as Git2Statuses;
use serde::export::Formatter;
use std::fmt::Formatter;
use std::fmt;

pub(crate) struct Statuses(pub Vec<Status>);
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ use hook::Hook;
use itertools::Itertools;
use log::filter::CommitFilters;
use semver::Version;
use serde::export::fmt::Display;
use serde::export::Formatter;
use std::fmt::Display;
use std::fmt::Formatter;
use settings::AuthorSetting;
use std::fs::File;
use std::io::Write;
Expand Down

0 comments on commit b0ef1ef

Please sign in to comment.