diff --git a/crates/test-cli/src/lib.rs b/crates/test-cli/src/lib.rs index 0c3ab704f..42a030545 100644 --- a/crates/test-cli/src/lib.rs +++ b/crates/test-cli/src/lib.rs @@ -686,9 +686,9 @@ enum QuoteContextArg { ChangeThresholdAccounts, } -impl Into for QuoteContextArg { - fn into(self) -> QuoteContext { - match self { +impl From for QuoteContext { + fn from(quote_context: QuoteContextArg) -> Self { + match quote_context { QuoteContextArg::Validate => QuoteContext::Validate, QuoteContextArg::ChangeEndpoint => QuoteContext::ChangeEndpoint, QuoteContextArg::ChangeThresholdAccounts => QuoteContext::ChangeThresholdAccounts,