Skip to content

Commit de8a903

Browse files
committed
Chore: Fix formatting
via `cargo fmt`
1 parent db87e14 commit de8a903

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

benches/repo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use criterion::{black_box, criterion_group, criterion_main, Criterion};
2-
use onefetch::{cli::CliOptions, info::Info};
32
use onefetch::utils::repo;
3+
use onefetch::{cli::CliOptions, info::Info};
44

55
fn bench_repo_info(c: &mut Criterion) {
66
let repo = repo("repo.sh").unwrap();

src/info/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,9 @@ mod tests {
354354
#[test]
355355
#[cfg(feature = "test-utils")]
356356
fn test_info_style_info() -> Result<()> {
357-
let repo = repo("basic_repo.sh")?;
357+
let repo = repo("basic_repo.sh")?;
358358
let config: CliOptions = CliOptions {
359-
input: repo.path().to_path_buf(),
359+
input: repo.path().to_path_buf(),
360360
text_formatting: TextForamttingCliOptions {
361361
text_colors: vec![0, 0, 0, 0, 0, 0],
362362
..Default::default()
@@ -378,9 +378,9 @@ mod tests {
378378
#[test]
379379
#[cfg(feature = "test-utils")]
380380
fn test_info_style_subtitle() -> Result<()> {
381-
let repo = repo("basic_repo.sh")?;
381+
let repo = repo("basic_repo.sh")?;
382382
let config: CliOptions = CliOptions {
383-
input: repo.path().to_path_buf(),
383+
input: repo.path().to_path_buf(),
384384
text_formatting: TextForamttingCliOptions {
385385
text_colors: vec![0, 0, 0, 0, 15, 0],
386386
no_bold: false,

src/info/title.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ impl std::fmt::Display for Title {
8686
#[cfg(test)]
8787
#[cfg(feature = "test-utils")]
8888
mod tests {
89-
use anyhow::Result;
90-
use crate::utils::repo;
9189
use super::*;
90+
use crate::utils::repo;
91+
use anyhow::Result;
9292
use owo_colors::AnsiColors;
9393

9494
#[test]

0 commit comments

Comments
 (0)