Skip to content

Commit

Permalink
fix: missing total info
Browse files Browse the repository at this point in the history
  • Loading branch information
hms5232 committed May 15, 2024
1 parent b8e9af4 commit 1b0b0ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ gmm 100 30 bar=20 foo=40 50
it will print:

```
Total to be allocated: $100.00
+----------+----------+-----------+
| No./Name | Original | Allocated |
+----------+----------+-----------+
Expand Down
1 change: 1 addition & 0 deletions src/mission.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ impl Round<'_> {

/// Display result
pub fn display(&self) {
println!("Total to be allocated: {}", self.total);
match self.display_format {
Format::Table => self.display_table(),
}
Expand Down

0 comments on commit 1b0b0ec

Please sign in to comment.