refactor: simplify patch related constructors for CiEvent
Signed-off-by: Lars Wirzenius liw@liw.fi
2 files changed
+8
-22
a01aa8ce
→
08bcf703
modified src/bin/cibtoolcmd/event.rs
@@ -211,11 +211,9 @@ impl Leaf for AddEvent {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -223,11 +221,9 @@ impl Leaf for AddEvent {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified src/ci_event.rs
@@ -104,32 +104,22 @@ impl CiEvent {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -146,7 +136,7 @@ impl CiEvent {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -156,7 +146,7 @@ impl CiEvent {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|