This commit is contained in:
John Smith 2023-03-13 16:43:07 -04:00
parent 3c7c49684c
commit 894acc18e3
2 changed files with 4 additions and 3 deletions

View File

@ -43,7 +43,7 @@ flexi_logger = { version = "^0", features = ["use_chrono_for_offset"] }
thiserror = "^1" thiserror = "^1"
crossbeam-channel = "^0" crossbeam-channel = "^0"
hex = "^0" hex = "^0"
veilid-core = { path = "../veilid-core", default_features = false } veilid-core = { path = "../veilid-core" }
json = "^0" json = "^0"
[dev-dependencies] [dev-dependencies]

View File

@ -195,9 +195,10 @@ where
write!(f, "[")?; write!(f, "[")?;
let mut first = true; let mut first = true;
for x in &self.items { for x in &self.items {
if !first { if first {
write!(f, ",")?;
first = false; first = false;
} else {
write!(f, ",")?;
} }
write!(f, "{}", x)?; write!(f, "{}", x)?;
} }