Skip to content

Commit 37ca372

Browse files
committed
tweak comment
1 parent fc15f1f commit 37ca372

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pulse-binding/src/format.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ impl Info {
211211
/// Creates a new `Info` from an existing [`InfoInternal`] pointer.
212212
pub(crate) fn from_raw(ptr: *mut InfoInternal) -> Self {
213213
assert_eq!(false, ptr.is_null());
214-
// Note, yes, this should be using `from_raw_weak()`, the ‘free’ function for a format info
215-
// object free’s its own proplist!
214+
// Note, yes, this should be weak; the ‘free’ function for a format info object free’s its
215+
// own proplist!
216216
unsafe { Self { ptr: ptr, properties: Proplist::from_raw_weak((*ptr).list), weak: false } }
217217
}
218218

0 commit comments

Comments
 (0)