Trivial change to force a doc rebuild.
This commit is contained in:
parent
f099359cfa
commit
d85e48840d
1 changed files with 2 additions and 2 deletions
|
@ -68,10 +68,10 @@ unsafe fn position<T>(buf: *T, f: fn(T) -> bool) -> uint {
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
pure fn null<T>() -> *T unsafe { ret unsafe::reinterpret_cast(0u); }
|
pure fn null<T>() -> *T unsafe { ret unsafe::reinterpret_cast(0u); }
|
||||||
|
|
||||||
#[doc = "Returns true if the pointer is equal to the null pointer"]
|
#[doc = "Returns true if the pointer is equal to the null pointer."]
|
||||||
pure fn is_null<T>(ptr: *const T) -> bool { ptr == null() }
|
pure fn is_null<T>(ptr: *const T) -> bool { ptr == null() }
|
||||||
|
|
||||||
#[doc = "Returns true if the pointer is not equal to the null pointer"]
|
#[doc = "Returns true if the pointer is not equal to the null pointer."]
|
||||||
pure fn is_not_null<T>(ptr: *const T) -> bool { !is_null(ptr) }
|
pure fn is_not_null<T>(ptr: *const T) -> bool { !is_null(ptr) }
|
||||||
|
|
||||||
#[doc = "
|
#[doc = "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue