@@ -158,7 +158,7 @@ impl MidiDevice {
158
158
159
159
/// Opens the input port so that the client can send data to it. Note that the returned
160
160
/// [`MidiInputPort`] is intentionally `!Send` and `!Sync`; please use
161
- /// [`safe::SafeMidiDevice::open_safe_input_port`] if you need the thread-safe version.
161
+ /// [`safe::SafeMidiDevice::open_safe_input_port() `] if you need the thread-safe version.
162
162
pub fn open_input_port ( & self , port_number : i32 ) -> Result < MidiInputPort < ' _ > > {
163
163
unsafe {
164
164
let input_port =
@@ -169,7 +169,7 @@ impl MidiDevice {
169
169
170
170
/// Opens the output port so that the client can receive data from it. Note that the returned
171
171
/// [`MidiOutputPort`] is intentionally `!Send` and `!Sync`; please use
172
- /// [`safe::SafeMidiDevice::open_safe_output_port`] if you need the thread-safe version.
172
+ /// [`safe::SafeMidiDevice::open_safe_output_port() `] if you need the thread-safe version.
173
173
pub fn open_output_port ( & self , port_number : i32 ) -> Result < MidiOutputPort < ' _ > > {
174
174
unsafe {
175
175
let output_port =
@@ -189,7 +189,7 @@ impl Drop for MidiDevice {
189
189
}
190
190
191
191
/// A wrapper over [`ffi::AMidiInputPort`]. Note that [`MidiInputPort`] is intentionally `!Send` and
192
- /// `!Sync`; please use [`safe::SafeMidiDevice::open_safe_input_port`] if you need the thread-safe
192
+ /// `!Sync`; please use [`safe::SafeMidiDevice::open_safe_input_port() `] if you need the thread-safe
193
193
/// version.
194
194
pub struct MidiInputPort < ' a > {
195
195
ptr : NonNull < ffi:: AMidiInputPort > ,
@@ -280,7 +280,7 @@ impl<'a> Drop for MidiInputPort<'a> {
280
280
}
281
281
282
282
/// A wrapper over [`ffi::AMidiOutputPort`]. Note that [`MidiOutputPort`] is intentionally `!Send`
283
- /// and `!Sync`; please use [`safe::SafeMidiDevice::open_safe_output_port`] if you need the
283
+ /// and `!Sync`; please use [`safe::SafeMidiDevice::open_safe_output_port() `] if you need the
284
284
/// thread-safe version.
285
285
pub struct MidiOutputPort < ' a > {
286
286
ptr : NonNull < ffi:: AMidiOutputPort > ,
0 commit comments