File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,13 @@ const GLOBAL_DESCRIPTOR: ffi::Block_descriptor_header = ffi::Block_descriptor_he
1818/// An Objective-C block that does not capture it's environment.
1919///
2020/// This is effectively just a glorified function pointer, and can created and
21- /// stored in static memory using the [`global_block`][`global_block !`] macro.
21+ /// stored in static memory using the [`global_block!`] macro.
2222///
2323/// If [`ConcreteBlock`] is the [`Fn`]-block equivalent, this is likewise the
2424/// [`fn`]-block equivalent.
2525///
2626/// [`ConcreteBlock`]: crate::ConcreteBlock
27+ /// [`global_block!`]: crate::global_block
2728#[ repr( C ) ]
2829pub struct GlobalBlock < A , R = ( ) > {
2930 layout : ffi:: Block_layout ,
8889
8990/// Construct a static [`GlobalBlock`].
9091///
91- /// The syntax is similar to a static closure. Note that the block cannot
92- /// capture it's environment, and it's argument types and return type must be
93- /// [`Encode`].
92+ /// The syntax is similar to a static closure (except that all types have to
93+ /// be specified). Note that the block cannot capture it's environment, and
94+ /// it's argument types and return type must be [`Encode`].
9495///
9596/// # Examples
9697///
You can’t perform that action at this time.
0 commit comments