We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edbaabc commit 03ed7a8Copy full SHA for 03ed7a8
pulse-binding/src/format.rs
@@ -594,8 +594,9 @@ impl Drop for Info {
594
}
595
596
impl Clone for Info {
597
- /// Returns a new `Info` struct and representing the same format. If this is called on a ‘weak’
598
- /// instance, a non-weak object is returned.
+ /// Returns a new `Info` struct and representing the same format.
+ ///
599
+ /// If this is called on a ‘weak’ instance, a non-weak object is returned.
600
fn clone(&self) -> Self {
601
let ptr = unsafe { capi::pa_format_info_copy(self.ptr as *const capi::pa_format_info) };
602
assert_eq!(false, ptr.is_null());
0 commit comments