Skip to content

Commit 2649c5a

Browse files
committed
clippy: fix needless borrow
1 parent ef9a604 commit 2649c5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/src/attesteer/commands/send_dcap_quote.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub struct SendDCAPQuoteCmd {
3232

3333
impl SendDCAPQuoteCmd {
3434
pub fn run(&self, cli: &Cli) {
35-
let direct_api = get_worker_api_direct(&cli);
35+
let direct_api = get_worker_api_direct(cli);
3636
let hex_encoded_quote = read_to_string(&self.quote)
3737
.map_err(|e| error!("Opening hex encoded DCAP quote file failed: {:#?}", e))
3838
.unwrap();

cli/src/attesteer/commands/send_ias_attestation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub struct SendIASAttestationReportCmd {
3333

3434
impl SendIASAttestationReportCmd {
3535
pub fn run(&self, cli: &Cli) {
36-
let direct_api = get_worker_api_direct(&cli);
36+
let direct_api = get_worker_api_direct(cli);
3737
let hex_encoded_report = read_to_string(&self.report)
3838
.map_err(|e| error!("Opening hex encoded IAS attestation report file failed: {:#?}", e))
3939
.unwrap();

0 commit comments

Comments
 (0)