From dd0133d8362f0e1fca6f4346c620dd13c7e18dbc Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Tue, 9 Feb 2016 14:06:24 -0500 Subject: Some docs for std::num This commit does two things: * Re-works the module-level documentation. * Cleaning up wording and adding links to where error types are used. Part of #29364 --- src/libstd/num/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libstd/num') diff --git a/src/libstd/num/mod.rs b/src/libstd/num/mod.rs index faaff494cab..dd0d874ee4b 100644 --- a/src/libstd/num/mod.rs +++ b/src/libstd/num/mod.rs @@ -8,10 +8,10 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Numeric traits and functions for generic mathematics +//! Additional functionality for numerics. //! -//! These are implemented for the primitive numeric types in `std::{u8, u16, -//! u32, u64, usize, i8, i16, i32, i64, isize, f32, f64}`. +//! This module provides some extra types that are useful when doing numerical +//! work. See the individual documentation for each piece for more information. #![stable(feature = "rust1", since = "1.0.0")] #![allow(missing_docs)] -- cgit 1.4.1-3-g733a5