From 4b03e2de9573d7b0bc6f1165b5b65a25d056a540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Fri, 18 Oct 2013 11:59:32 +0200 Subject: [PATCH] Replace std::num::One::one() by std::num::one() on examples. --- src/na.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/na.rs b/src/na.rs index a1de5eeb..cf7dc997 100644 --- a/src/na.rs +++ b/src/na.rs @@ -63,7 +63,7 @@ pub fn identity() -> Identity { /// Create a zero-valued value. /// -/// This is the same as `std::num::Zero::zero()`. +/// This is the same as `std::num::zero()`. #[inline(always)] pub fn zero() -> T { Zero::zero() @@ -71,7 +71,7 @@ pub fn zero() -> T { /// Create a one-valued value. /// -/// This is the same as `std::num::One::one()`. +/// This is the same as `std::num::one()`. #[inline(always)] pub fn one() -> T { One::one()