mirror of
https://github.com/topjohnwu/cxx.git
synced 2024-10-07 00:53:28 +00:00
Fix minor typo
This commit is contained in:
parent
23fe7e437a
commit
cbad4f37fe
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user