Minor improvements

This commit is contained in:
Sean Bowe
2016-01-26 14:18:01 -07:00
parent ececc2b60b
commit da373758e5
3 changed files with 72 additions and 68 deletions

View File

@@ -160,7 +160,7 @@ pub fn gadget<W, C>(
// TODO: we should augment the gadget instead
// of replacing it
debug_assert!(a.gadget.is_none());
assert!(a.gadget.is_none());
a.gadget = Some(gadget.clone());
a