Small fixes

Summary: Some small perf improvements, remove unnecessary cloning, etc.

Reviewed By: jknoxville

Differential Revision: D22307521

fbshipit-source-id: 91cfd16b0b05a24ec9639c2a2e26d504a6b01de4
This commit is contained in:
Pascal Hartig
2020-06-30 06:18:44 -07:00
committed by Facebook GitHub Bot
parent ceb9c942dc
commit ba0a706bc8
2 changed files with 9 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ use clap::arg_enum;
use std::fmt::{self, Display};
arg_enum! {
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, serde::Deserialize)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, serde::Deserialize)]
#[serde(rename_all = "lowercase")]
pub enum Platform {
Mac,