Rm unused derive(Clone) for DesiredTargets

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-07-21 15:07:09 +10:00
parent eda7b9445a
commit b2d09e2b13
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -8,13 +8,13 @@ use tokio::sync::OnceCell;
/// Compiled target triple, used as default for binary fetching
pub const TARGET: &str = env!("TARGET");
#[derive(Debug, Clone)]
#[derive(Debug)]
enum DesiredTargetsInner {
AutoDetect(Arc<OnceCell<Vec<String>>>),
Initialized(Vec<String>),
}
#[derive(Debug, Clone)]
#[derive(Debug)]
pub struct DesiredTargets(DesiredTargetsInner);
impl DesiredTargets {