Another round of adjustments to Trussed, mostly owned ObjectHandles

This commit is contained in:
Nicolas Stalder
2021-02-26 18:06:44 +01:00
committed by Nicolas Stalder
parent 9998bd9743
commit 7ad162289e
+4 -4
View File
@@ -215,7 +215,7 @@ where
self.state = State::Receiving;
self.send_empty_datablock(Chain::ExpectingMore);
}
_ => panic!("{:?} unexpected in idle state"),
_ => panic!("unexpectedly in idle state"),
}
}
@@ -234,7 +234,7 @@ where
self.call_app();
self.state = State::Processing;
}
_ => panic!("{:?} unexpected in receiving state"),
_ => panic!("unexpectedly in receiving state"),
}
}
@@ -245,7 +245,7 @@ where
}
State::ReadyToSend => {
panic!("{:?} unexpected in ready-to-send state")
panic!("unexpectedly in ready-to-send state")
}
State::Sending => {
@@ -253,7 +253,7 @@ where
Chain::ExpectingMore => {
self.prime_outbox();
}
_ => panic!("{:?} unexpected in receiving state"),
_ => panic!("unexpectedly in receiving state"),
}
}
}