diff options
author | Akshay <[email protected]> | 2023-06-15 20:03:31 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2023-06-15 20:03:31 +0100 |
commit | 7b5598d0de12573205415136fbb9aa467e30fa8a (patch) | |
tree | d18237265744fbbb9d3a1bf2ae888d2a8d267eb2 /src/status.rs | |
parent | 757090d32980564896d79301152490dc9b24bbb3 (diff) |
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 | "{}", |