bitfield,flag: document the remaining functions

This commit is contained in:
Delyan Angelov 2021-11-18 20:14:59 +02:00
parent 96554fad71
commit 24ba660367
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
2 changed files with 43 additions and 11 deletions

View file

@ -338,6 +338,7 @@ pub fn (instance BitField) clone() BitField {
return output
}
// == compares 2 bitfields, and returns true when they are equal
pub fn (a BitField) == (b BitField) bool {
if a.size != b.size {
return false