Test and fix store::List::retain

This commit is contained in:
Carl Lerche
2017-08-10 10:14:22 -07:00
parent 7107e9fc06
commit 6c962491c6
2 changed files with 182 additions and 5 deletions

View File

@@ -57,3 +57,9 @@ impl From<StreamId> for u32 {
src.0
}
}
impl PartialEq<u32> for StreamId {
fn eq(&self, other: &u32) -> bool {
self.0 == *other
}
}