I imagine these were made and then this syntax change happened and it didn't get updated.
Changes invariant method to take &self instead of magic pre argument, and inductive proof stubs to take Self instead of the named type (it fails macro expansion with e.g. post: AdderMachine)
Playground link for changed code
I imagine these were made and then this syntax change happened and it didn't get updated.
Changes invariant method to take
&self
instead of magicpre
argument, and inductive proof stubs to takeSelf
instead of the named type (it fails macro expansion with e.g.post: AdderMachine
)