Omit more unnecessary fields from record diffs

This commit is contained in:
Richard Feldman 2023-01-10 01:22:49 -05:00
parent 148119c6b4
commit dc8eb81bb2
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
2 changed files with 216 additions and 1 deletions

View file

@ -301,6 +301,10 @@ impl AbilitySet {
pub fn is_empty(&self) -> bool {
self.0.is_empty()
}
pub fn len(&self) -> usize {
self.0.len()
}
}
impl FromIterator<Symbol> for AbilitySet {