From d85e48840d5a0a49ae3e6c87e69105443f20a7a7 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Fri, 13 Apr 2012 19:50:51 -0700 Subject: [PATCH] Trivial change to force a doc rebuild. --- src/libcore/ptr.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index 780638f98b7..8718ad2274b 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -68,10 +68,10 @@ unsafe fn position(buf: *T, f: fn(T) -> bool) -> uint { #[inline(always)] pure fn null() -> *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(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(ptr: *const T) -> bool { !is_null(ptr) } #[doc = "