1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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
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