diff options
Diffstat (limited to 'src/status.rs')
-rw-r--r-- | src/status.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/status.rs b/src/status.rs index 205e2a9..4479a69 100644 --- a/src/status.rs +++ b/src/status.rs | |||
@@ -27,6 +27,10 @@ impl PullStatus { | |||
27 | 27 | ||
28 | impl fmt::Display for PullStatus { | 28 | impl fmt::Display for PullStatus { |
29 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | 29 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
30 | if self.is_empty() { | ||
31 | return Ok(()); | ||
32 | } | ||
33 | |||
30 | write!( | 34 | write!( |
31 | f, | 35 | f, |
32 | "{}", | 36 | "{}", |