Skip to content

Commit 3165520

Browse files
committed
fix clippy
1 parent 769a421 commit 3165520

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dsc_lib/src/configure/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,13 +798,13 @@ fn get_failure_from_error(err: &DscError) -> Option<Failure> {
798798
DscError::CommandExit(_resource, exit_code, reason) => {
799799
Some(Failure {
800800
message: reason.to_string(),
801-
exit_code: exit_code.clone(),
801+
exit_code: *exit_code,
802802
})
803803
},
804804
DscError::CommandExitFromManifest(_resource, exit_code, reason) => {
805805
Some(Failure {
806806
message: reason.to_string(),
807-
exit_code: exit_code.clone(),
807+
exit_code: *exit_code,
808808
})
809809
},
810810
_ => None,

0 commit comments

Comments
 (0)