@@ -114,9 +114,9 @@ pub fn mq_getattr(mqd: MQd) -> Result<MqAttr> {
114114 Ok ( attr)
115115}
116116
117- /// Set the attributes of the message queue. Only O_NONBLOCK can be set, everything else will be ignored
117+ /// Set the attributes of the message queue. Only ` O_NONBLOCK` can be set, everything else will be ignored
118118/// Returns the old attributes
119- /// It is recommend to use the mq_set_nonblock() and mq_remove_nonblock() convenience functions as they are easier to use
119+ /// It is recommend to use the ` mq_set_nonblock()` and ` mq_remove_nonblock()` convenience functions as they are easier to use
120120///
121121/// [Further reading](http://man7.org/linux/man-pages/man3/mq_setattr.3.html)
122122pub fn mq_setattr ( mqd : MQd , newattr : & MqAttr ) -> Result < MqAttr > {
@@ -127,7 +127,7 @@ pub fn mq_setattr(mqd: MQd, newattr: &MqAttr) -> Result<MqAttr> {
127127}
128128
129129/// Convenience function.
130- /// Sets the O_NONBLOCK attribute for a given message queue descriptor
130+ /// Sets the ` O_NONBLOCK` attribute for a given message queue descriptor
131131/// Returns the old attributes
132132pub fn mq_set_nonblock ( mqd : MQd ) -> Result < ( MqAttr ) > {
133133 let oldattr = try!( mq_getattr ( mqd) ) ;
@@ -136,7 +136,7 @@ pub fn mq_set_nonblock(mqd: MQd) -> Result<(MqAttr)> {
136136}
137137
138138/// Convenience function.
139- /// Removes O_NONBLOCK attribute for a given message queue descriptor
139+ /// Removes ` O_NONBLOCK` attribute for a given message queue descriptor
140140/// Returns the old attributes
141141pub fn mq_remove_nonblock ( mqd : MQd ) -> Result < ( MqAttr ) > {
142142 let oldattr = try!( mq_getattr ( mqd) ) ;
0 commit comments