Rollup merge of #26020 - frewsxcv:patch-24, r=steveklabnik
This commit is contained in:
commit
eb6a70cbab
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user