Skip to content

Commit 66b9089

Browse files
josephlrfbstj
andcommitted
Fix comment for Weak::ptr()
Co-authored-by: Joe ST <joe@fbstj.net>
1 parent 62da7e7 commit 66b9089

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util_libc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ impl Weak {
108108
}
109109

110110
// Return the address of a function if present at runtime. Otherwise,
111-
// return null. Multiple callers can call ptr() concurrently. It will
111+
// return None. Multiple callers can call ptr() concurrently. It will
112112
// always return _some_ value returned by libc::dlsym. However, the
113113
// dlsym function may be called multiple times.
114114
pub fn ptr(&self) -> Option<NonNull<c_void>> {

0 commit comments

Comments
 (0)