1
0
Fork 0

Implement Eq on generator::State.

This commit is contained in:
whitequark 2016-10-01 19:21:09 +00:00 committed by edef
parent f9b6cd17f6
commit 243e9ffc6c
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ use stack;
use debug;
use arch::{self, StackPointer};
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum State {
/// Generator can be resumed. This is the initial state.
Runnable,