Guest User

Untitled

a guest
Apr 22nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. // I want this to compile
  2. pub trait State {
  3. type Message;
  4. fn render(&self) -> Markup;
  5. fn next_state(self, &Self::Message) -> Box<State>;
  6. }
Add Comment
Please, Sign In to add comment