@@ -158,7 +158,7 @@ pub trait TCFType {
158158 /// The reference type wrapped inside this type.
159159 type Ref : TCFTypeRef ;
160160
161- /// Returns the object as its concrete TypeRef.
161+ /// Returns the object as its concrete ` TypeRef` .
162162 fn as_concrete_TypeRef ( & self ) -> Self :: Ref ;
163163
164164 /// Returns an instance of the object, wrapping the underlying `CFTypeRef` subclass. Use this
@@ -211,7 +211,7 @@ pub trait TCFType {
211211 unsafe { CFShow ( self . as_CFTypeRef ( ) ) }
212212 }
213213
214- /// Returns true if this value is an instance of another type.
214+ /// Returns ` true` if this value is an instance of another type.
215215 #[ inline]
216216 fn instance_of < OtherCFType : TCFType > ( & self ) -> bool {
217217 self . type_of ( ) == OtherCFType :: type_id ( )
@@ -303,7 +303,7 @@ impl<'a, T: PartialEq> PartialEq for ItemMutRef<'a, T> {
303303 }
304304}
305305
306- /// A trait describing how to convert from the stored *mut c_void to the desired T
306+ /// A trait describing how to convert from the stored ` *mut c_void` to the desired `T`
307307pub unsafe trait FromMutVoid {
308308 unsafe fn from_mut_void < ' a > ( x : * mut c_void ) -> ItemMutRef < ' a , Self >
309309 where
@@ -331,7 +331,7 @@ unsafe impl<T: TCFType> FromMutVoid for T {
331331 }
332332}
333333
334- /// A trait describing how to convert from the stored *const c_void to the desired T
334+ /// A trait describing how to convert from the stored ` *const c_void` to the desired `T`
335335pub unsafe trait FromVoid {
336336 unsafe fn from_void < ' a > ( x : * const c_void ) -> ItemRef < ' a , Self >
337337 where
@@ -361,7 +361,7 @@ unsafe impl<T: TCFType> FromVoid for T {
361361 }
362362}
363363
364- /// A trait describing how to convert from the stored *const c_void to the desired T
364+ /// A trait describing how to convert from the stored ` *const c_void` to the desired `T`
365365pub unsafe trait ToVoid < T > {
366366 fn to_void ( & self ) -> * const c_void ;
367367}
0 commit comments