about summary refs log tree commit diff
path: root/src/libcollections
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-07-17 16:28:04 -0700
committerBrian Anderson <banderson@mozilla.com>2015-07-20 13:17:41 -0700
commit44dd247cd5ced8ae8a8c6f1d04463abce21c8e9e (patch)
tree107138e203675db258f5bcf581cf3b68ecce942f /src/libcollections
parent47265bbf37385a087235a8c5eddea5944ae6465e (diff)
doc: Clean up primitive short descriptions
This makes the primitive descriptions on the front page read properly
as descriptions of types and not of the associated modules.
Diffstat (limited to 'src/libcollections')
-rw-r--r--src/libcollections/slice.rs2
-rw-r--r--src/libcollections/str.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcollections/slice.rs b/src/libcollections/slice.rs
index f5a27565ef7..ae6cda793d0 100644
--- a/src/libcollections/slice.rs
+++ b/src/libcollections/slice.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-//! Utilities for slice manipulation
+//! A dynamically-sized view into a contiguous sequence, `[T]`.
 //!
 //! The `slice` module contains useful code to help work with slice values.
 //! Slices are a view into a block of memory represented as a pointer and a
diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs
index cb6613998b4..8ab1464379f 100644
--- a/src/libcollections/str.rs
+++ b/src/libcollections/str.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-//! Unicode string manipulation (the `str` type).
+//! Unicode string slices
 //!
 //! Rust's `str` type is one of the core primitive types of the language. `&str`
 //! is the borrowed string type. This type of string can only be created from