Skip to content

Commit 03ed7a8

Browse files
committed
tweak comment
make consistent with similar one on `Proplist`.
1 parent edbaabc commit 03ed7a8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pulse-binding/src/format.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -594,8 +594,9 @@ impl Drop for Info {
594594
}
595595

596596
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.
597+
/// Returns a new `Info` struct and representing the same format.
598+
///
599+
/// If this is called on a ‘weak’ instance, a non-weak object is returned.
599600
fn clone(&self) -> Self {
600601
let ptr = unsafe { capi::pa_format_info_copy(self.ptr as *const capi::pa_format_info) };
601602
assert_eq!(false, ptr.is_null());

0 commit comments

Comments
 (0)