Skip to content

Commit

Permalink
Merge pull request #493 from jch-13/dbg_prio
Browse files Browse the repository at this point in the history
Include priority in `Task` debug output
  • Loading branch information
Nukesor authored Jan 15, 2024
2 parents fb6caab + 4d6593b commit 01b1f7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### Fixed

- Include priority in `Task`s' `Debug` output

## [3.3.3] - 2024-01-04

### Fixed
Expand Down
1 change: 1 addition & 0 deletions pueue_lib/src/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ impl std::fmt::Debug for Task {
.field("prev_status", &self.prev_status)
.field("start", &self.start)
.field("end", &self.end)
.field("priority", &self.priority)
.finish()
}
}

0 comments on commit 01b1f7e

Please sign in to comment.