about summary refs log tree commit diff
path: root/src/libstd/num
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-02-09 14:06:24 -0500
committerSteve Klabnik <steve@steveklabnik.com>2016-02-09 14:07:51 -0500
commitdd0133d8362f0e1fca6f4346c620dd13c7e18dbc (patch)
tree741f8ca205a5f6856edd9f7460ba5aaf5619d581 /src/libstd/num
parent6630a0819553898c3fc0d060cc72a94d62ae1330 (diff)
downloadrust-dd0133d8362f0e1fca6f4346c620dd13c7e18dbc.tar.gz
rust-dd0133d8362f0e1fca6f4346c620dd13c7e18dbc.zip
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
Diffstat (limited to 'src/libstd/num')
-rw-r--r--src/libstd/num/mod.rs6
1 files changed, 3 insertions, 3 deletions
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)]