cargo fmt
This commit is contained in:
@@ -275,9 +275,7 @@ fn create_recordinfos(record: &Value) -> String {
|
|||||||
|
|
||||||
let summary: Vec<String> = output
|
let summary: Vec<String> = output
|
||||||
.iter()
|
.iter()
|
||||||
.map(|(key, value)| {
|
.map(|(key, value)| format!("{}:{}", key, value))
|
||||||
format!("{}:{}", key, value)
|
|
||||||
})
|
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
// 標準出力する時はセルがハイプ区切りになるので、パイプ区切りにしない
|
// 標準出力する時はセルがハイプ区切りになるので、パイプ区切りにしない
|
||||||
|
|||||||
@@ -36,12 +36,11 @@ impl Timeline {
|
|||||||
|
|
||||||
pub fn tm_stats_dsp_msg(&mut self) {
|
pub fn tm_stats_dsp_msg(&mut self) {
|
||||||
let statics_flag = configs::CONFIG
|
let statics_flag = configs::CONFIG
|
||||||
.read()
|
.read()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.args
|
.args
|
||||||
.is_present("statistics");
|
.is_present("statistics");
|
||||||
if ! statics_flag
|
if !statics_flag {
|
||||||
{
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 出力メッセージ作成
|
// 出力メッセージ作成
|
||||||
@@ -72,12 +71,11 @@ impl Timeline {
|
|||||||
|
|
||||||
pub fn tm_logon_stats_dsp_msg(&mut self) {
|
pub fn tm_logon_stats_dsp_msg(&mut self) {
|
||||||
let logon_summary_flag = configs::CONFIG
|
let logon_summary_flag = configs::CONFIG
|
||||||
.read()
|
.read()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.args
|
.args
|
||||||
.is_present("logon-summary");
|
.is_present("logon-summary");
|
||||||
if !logon_summary_flag
|
if !logon_summary_flag {
|
||||||
{
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 出力メッセージ作成
|
// 出力メッセージ作成
|
||||||
|
|||||||
Reference in New Issue
Block a user