@@ -158,7 +158,7 @@ impl MidiDevice {
158158
159159 /// Opens the input port so that the client can send data to it. Note that the returned
160160 /// [`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.
162162 pub fn open_input_port ( & self , port_number : i32 ) -> Result < MidiInputPort < ' _ > > {
163163 unsafe {
164164 let input_port =
@@ -169,7 +169,7 @@ impl MidiDevice {
169169
170170 /// Opens the output port so that the client can receive data from it. Note that the returned
171171 /// [`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.
173173 pub fn open_output_port ( & self , port_number : i32 ) -> Result < MidiOutputPort < ' _ > > {
174174 unsafe {
175175 let output_port =
@@ -189,7 +189,7 @@ impl Drop for MidiDevice {
189189}
190190
191191/// 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
193193/// version.
194194pub struct MidiInputPort < ' a > {
195195 ptr : NonNull < ffi:: AMidiInputPort > ,
@@ -280,7 +280,7 @@ impl<'a> Drop for MidiInputPort<'a> {
280280}
281281
282282/// 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
284284/// thread-safe version.
285285pub struct MidiOutputPort < ' a > {
286286 ptr : NonNull < ffi:: AMidiOutputPort > ,
0 commit comments