about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-06-04 19:45:43 -0400
committerCorey Farwell <coreyf@rwell.org>2015-06-04 19:45:43 -0400
commit536c244be35110482c817e728d476162ddae09b0 (patch)
tree340f68338013c0f717229e30e0a17fa184f4a49c
parent20cf4cf62c72c67fdd89609f9098b259335ba1ae (diff)
downloadrust-536c244be35110482c817e728d476162ddae09b0.tar.gz
rust-536c244be35110482c817e728d476162ddae09b0.zip
Doc-comment fix; trait names are capitalized
-rw-r--r--src/libcore/cell.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs
index d867453008a..175dabaf1d2 100644
--- a/src/libcore/cell.rs
+++ b/src/libcore/cell.rs
@@ -38,7 +38,7 @@
 //!
 //! * Introducing inherited mutability roots to shared types.
 //! * Implementation details of logically-immutable methods.
-//! * Mutating implementations of `clone`.
+//! * Mutating implementations of `Clone`.
 //!
 //! ## Introducing inherited mutability roots to shared types
 //!
@@ -109,7 +109,7 @@
 //! }
 //! ```
 //!
-//! ## Mutating implementations of `clone`
+//! ## Mutating implementations of `Clone`
 //!
 //! This is simply a special - but common - case of the previous: hiding mutability for operations
 //! that appear to be immutable. The `clone` method is expected to not change the source value, and