Skip to content

Commit 6e52336

Browse files
authored
doc: fix minor grammar error in attribute comment (#20945)
1 parent 065e5e2 commit 6e52336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5506,7 +5506,7 @@ fn main() {
55065506
assert 2 == int(BitField.write)
55075507
mut bf := BitField.read
55085508
assert bf.has(.read | .other) // test if *at least one* of the flags is set
5509-
assert !bf.all(.read | .other) // test if *all* of the flags is set
5509+
assert !bf.all(.read | .other) // test if *all* of the flags are set
55105510
bf.set(.write | .other)
55115511
assert bf.has(.read | .write | .other)
55125512
assert bf.all(.read | .write | .other)

0 commit comments

Comments
 (0)