Skip to content

Commit 5c99779

Browse files
authored
Minor bit logic error
1 parent ed980c7 commit 5c99779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/nativecall.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ class Addrinfo is repr('CStruct') {
880880
has Addrinfo $.ai_next is rw;
881881
882882
method flags {
883-
do for AddrInfo-Flags.enums { .key if $!ai_flags +| .value }
883+
do for AddrInfo-Flags.enums { .key if $!ai_flags +& .value }
884884
}
885885
886886
method family {

0 commit comments

Comments
 (0)