]> piware.de Git - learn-rust.git/commit
concepts: Rewrite Post without Option
authorMartin Pitt <martin@piware.de>
Sun, 29 Aug 2021 14:12:41 +0000 (16:12 +0200)
committerMartin Pitt <martin@piware.de>
Sun, 29 Aug 2021 14:12:41 +0000 (16:12 +0200)
commitc2e012ab539dff44f0690e5d7cab4880400454fe
tree319c1a2ed3aa48566dc3d1917bc40fcb0bea7f63
parentc182c6166ae3971320daaeadba3ea718124303e7
concepts: Rewrite Post without Option

This gets rid of a lot of extra Option handling code, at the price of
having to rebuild instead of pass through non-changing states.
concepts/src/lib.rs