We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62da7e7 commit 66b9089Copy full SHA for 66b9089
1 file changed
src/util_libc.rs
@@ -108,7 +108,7 @@ impl Weak {
108
}
109
110
// Return the address of a function if present at runtime. Otherwise,
111
- // return null. Multiple callers can call ptr() concurrently. It will
+ // return None. Multiple callers can call ptr() concurrently. It will
112
// always return _some_ value returned by libc::dlsym. However, the
113
// dlsym function may be called multiple times.
114
pub fn ptr(&self) -> Option<NonNull<c_void>> {
0 commit comments