This commit is contained in:
gluax 2021-06-08 14:26:15 -07:00
parent 61c20f2706
commit 3ec91dc01f

View File

@ -87,7 +87,9 @@ impl Integer {
}
pub fn is_allocated(&self) -> bool {
self.get_bits().into_iter().any(|b| matches!(b, Boolean::Is(_) | Boolean::Not(_)))
self.get_bits()
.into_iter()
.any(|b| matches!(b, Boolean::Is(_) | Boolean::Not(_)))
}
pub fn get_value(&self) -> Option<String> {