rollup merge of #20195: nagisa/unused-typo
This commit is contained in:
commit
06256582e9
@ -36,7 +36,7 @@ pub trait Clone {
|
|||||||
/// but can be overridden to reuse the resources of `a` to avoid unnecessary
|
/// but can be overridden to reuse the resources of `a` to avoid unnecessary
|
||||||
/// allocations.
|
/// allocations.
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
#[unstable = "this function rarely unused"]
|
#[unstable = "this function is rarely used"]
|
||||||
fn clone_from(&mut self, source: &Self) {
|
fn clone_from(&mut self, source: &Self) {
|
||||||
*self = source.clone()
|
*self = source.clone()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user