Skip to content

Commit 4c3ba5d

Browse files
committed
adds spacing between line and entry parsing
Reads better, IMHO, especially with error context. Same now as in total.rs.
1 parent 5b40d1e commit 4c3ba5d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/usage/depth.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ pub fn sum(
6161

6262
for line in report.byte_lines() {
6363
let line = line.context("reading line from policy report")?;
64+
6465
let entry = Entry::try_from(line.as_slice())
6566
.context("parsing line from policy report")?;
6667

0 commit comments

Comments
 (0)