summaryrefslogtreecommitdiffstats
path: root/udedokei
diff options
context:
space:
mode:
authorKornel <kornel@geekhood.net>2019-08-07 22:22:55 +0100
committerKornel <kornel@geekhood.net>2019-08-09 13:04:15 +0100
commit47c02f92e70748c189b1f0730c0ee76a451f6403 (patch)
treef6ba9b1f31986f6eb4956c6321db5da708735166 /udedokei
parent316f149b27c7ed3e51245f7a9eed7c9620c1c93b (diff)
Rustfmt
Diffstat (limited to 'udedokei')
-rw-r--r--udedokei/src/lib.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/udedokei/src/lib.rs b/udedokei/src/lib.rs
index 7a5fcc5..df75b8b 100644
--- a/udedokei/src/lib.rs
+++ b/udedokei/src/lib.rs
@@ -1,6 +1,6 @@
use std::collections::HashMap;
-use std::path::PathBuf;
use std::path::Path;
+use std::path::PathBuf;
use serde_derive::*;
use tokei;
@@ -222,9 +222,7 @@ impl LanguageExt for Language {
impl Collect {
pub fn new() -> Self {
- Self {
- stats: Stats::default(),
- }
+ Self { stats: Stats::default() }
}
pub fn finish(self) -> Stats {