Mikolaj Wielgus
|
d7b5640a25
|
contracts: Improve abstract type detection (i.e. containing impl)
Now it also checks for if there's an impl inside the type, not only on
the outside.
|
2023-09-16 23:10:54 +02:00 |
Mikolaj Wielgus
|
d286f5c182
|
contracts: Replace `return` with block break
Without that, postconditions were skipped.
|
2023-09-15 20:16:37 +02:00 |
Mikolaj Wielgus
|
82081ef170
|
contracts: Use block instead of closure for original function body
I don't know why Contracts uses a closure, code block works just fine
while avoiding bugs. I may find out the hard way later.
|
2023-09-15 00:13:39 +02:00 |
Mikolaj Wielgus
|
35484972ef
|
Vendor contracts crate
|
2023-09-15 00:10:10 +02:00 |