Skip to content

Commit 6c11f02

Browse files
authored
docs: update code block in CONVENTIONS.md to use cfg alias[skip ci] (#2345)
1 parent 19f3c43 commit 6c11f02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CONVENTIONS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ libc_bitflags!{
7070
PROT_READ;
7171
PROT_WRITE;
7272
PROT_EXEC;
73-
#[cfg(any(target_os = "linux", target_os = "android"))]
73+
#[cfg(linux_android)]
7474
PROT_GROWSDOWN;
75-
#[cfg(any(target_os = "linux", target_os = "android"))]
75+
#[cfg(linux_android)]
7676
PROT_GROWSUP;
7777
}
7878
}

0 commit comments

Comments
 (0)