Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Wall <bob.wall@ironcorelabs.com>
  • Loading branch information
BobWall23 committed Nov 16, 2022
1 parent 32e7069 commit 28bc239
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
12 changes: 10 additions & 2 deletions src/file/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,16 @@ fn build_result_table(
})
.collect::<Vec<_>>()
.join("\n"),
metadata.created().to_offset(util::local_offset()).format(&util::time_format()).unwrap(),
metadata.last_updated().to_offset(util::local_offset()).format(&util::time_format()).unwrap()
metadata
.created()
.to_offset(util::local_offset())
.format(&util::time_format())
.unwrap(),
metadata
.last_updated()
.to_offset(util::local_offset())
.format(&util::time_format())
.unwrap()
]);
}
table
Expand Down
2 changes: 1 addition & 1 deletion src/group/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn list_groups(sdk: &BlockingIronOxide) -> Result<(), String> {
cell!(Fw -> group.last_updated().
to_offset(util::local_offset()).
format(&util::time_format()).
unwrap())
unwrap()),
]));
}

Expand Down
2 changes: 1 addition & 1 deletion src/group_maps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use prettytable::{color, Attr, Cell, Row};
use std::collections::HashMap;
use yansi::Paint;

use crate::util::{println_paint, local_offset, time_format};
use crate::util::{local_offset, println_paint, time_format};

type GroupsByName = HashMap<GroupName, Vec<GroupMetaResult>>;
type GroupsById = HashMap<GroupId, GroupMetaResult>;
Expand Down

0 comments on commit 28bc239

Please sign in to comment.