Skip to content

Commit

Permalink
run rustfmt on each changed file
Browse files Browse the repository at this point in the history
  • Loading branch information
xNxExOx committed Feb 25, 2024
1 parent 8cc6a9f commit 0998442
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
6 changes: 0 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# Change Log

## next

### Fixed

* removed outdated dependency `derivative`

## [1.3.0]

### New
Expand Down
2 changes: 1 addition & 1 deletion src/append/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
use log::Record;
use parking_lot::Mutex;
use std::{
fs::{self, File, OpenOptions},
fmt::{Debug, Formatter},
fs::{self, File, OpenOptions},
io::{self, BufWriter, Write},
path::{Path, PathBuf},
};
Expand Down
2 changes: 1 addition & 1 deletion src/append/rolling_file/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
use log::Record;
use parking_lot::Mutex;
use std::{
fs::{self, File, OpenOptions},
fmt::{Debug, Formatter},
fs::{self, File, OpenOptions},
io::{self, BufWriter, Write},
path::{Path, PathBuf},
};
Expand Down
2 changes: 1 addition & 1 deletion src/config/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ struct Root {

impl Default for Root {
fn default() -> Self {
Self{
Self {
level: root_level_default(),
appenders: vec![],
}
Expand Down
6 changes: 5 additions & 1 deletion src/encode/pattern/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@
use chrono::{Local, Utc};
use log::{Level, Record};
use std::{default::Default, io, process, thread, fmt::{Debug, Formatter}};
use std::{
default::Default,
fmt::{Debug, Formatter},
io, process, thread,
};

use crate::encode::{
self,
Expand Down

0 comments on commit 0998442

Please sign in to comment.