summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONVENTIONS.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CONVENTIONS.md b/CONVENTIONS.md
index 4e4a4ab2..8e6a37f9 100644
--- a/CONVENTIONS.md
+++ b/CONVENTIONS.md
@@ -21,6 +21,8 @@ We do not define integer constants ourselves, but use or reexport them from the
We represent sets of constants that are intended to be combined using bitwise
operations as parameters to functions by types defined using the `bitflags!`
macro from the [bitflags crate][bitflags].
+We name the type for a set of constants whose element's names start with `FOO_`
+`FooFlags`.
## Enumerations