Skip to content

Commit 70ddfdf

Browse files
committed
dist: drop unused Clone derives
1 parent 634c96e commit 70ddfdf

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/dist/download.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ use crate::utils;
2121

2222
const UPDATE_HASH_LEN: usize = 20;
2323

24-
#[derive(Clone)]
2524
pub struct DownloadCfg<'a> {
2625
pub dist_root: &'a str,
2726
pub tmp_cx: &'a temp::Context,

src/dist/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,6 @@ impl fmt::Display for Profile {
876876
}
877877
}
878878

879-
#[derive(Clone)]
880879
pub(crate) struct DistOptions<'a> {
881880
pub(crate) cfg: &'a Cfg<'a>,
882881
pub(crate) toolchain: &'a ToolchainDesc,

src/install.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ pub(crate) enum UpdateStatus {
2020
Unchanged,
2121
}
2222

23-
#[derive(Clone)]
2423
pub(crate) enum InstallMethod<'a> {
2524
Copy {
2625
src: &'a Path,

0 commit comments

Comments
 (0)