I've just uploaded an implementation of break to tohava/rust. This
implementation only implements break for while-loops. While I think
this implementation is mostly complete, I am not sure how it should
interact with typestate. If anyone cares to explain (admittedly I
don't know the typestate code very good, I only know the basic idea of
using check() to make sure a predicate is true and being able to know
in compile-time it's true afterwards) how break interacts with the
typestate mechanism it would be very helpful.

Regards, Ori.

-- 
1110101111111110 - it's a way of life
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to