Fix minor typo

This commit is contained in:
Vitaly Shukela 2021-01-15 09:25:41 +03:00 committed by GitHub
parent 23fe7e437a
commit cbad4f37fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ where
}
}
/// Chacks whether the SharedPtr does not own an object.
/// Checks whether the SharedPtr does not own an object.
///
/// This is the opposite of [std::shared_ptr\<T\>::operator bool](https://en.cppreference.com/w/cpp/memory/shared_ptr/operator_bool).
pub fn is_null(&self) -> bool {