summaryrefslogtreecommitdiff
path: root/src/mqueue.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mqueue.rs')
-rw-r--r--src/mqueue.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mqueue.rs b/src/mqueue.rs
index 3e494801..8598eaf2 100644
--- a/src/mqueue.rs
+++ b/src/mqueue.rs
@@ -59,7 +59,7 @@ impl MqAttr {
}
}
- pub fn flags(&self) -> mq_attr_member_t {
+ pub const fn flags(&self) -> mq_attr_member_t {
self.mq_attr.mq_flags
}
}