diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-06-05 11:20:29 +0200 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-06-05 11:20:29 +0200 |
| commit | eb6a70cbabbc74699e2b0331fef91be1fadad1bd (patch) | |
| tree | 6574d8c83ce96f886f1a717f54787f4d31b7f660 /src | |
| parent | e0f6ed859554221f84f007973590c5942e13139b (diff) | |
| parent | 536c244be35110482c817e728d476162ddae09b0 (diff) | |
| download | rust-eb6a70cbabbc74699e2b0331fef91be1fadad1bd.tar.gz rust-eb6a70cbabbc74699e2b0331fef91be1fadad1bd.zip | |
Rollup merge of #26020 - frewsxcv:patch-24, r=steveklabnik
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/cell.rs | 4 |
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 |
