From e0594ef3494701160b435aab15e19ed376660ff7 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Sat, 25 Jun 2022 12:20:02 +0530 Subject: [PATCH] net/aws/aws_transcriber: Fix clippy warning --- net/aws/src/aws_transcriber/imp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/aws/src/aws_transcriber/imp.rs b/net/aws/src/aws_transcriber/imp.rs index 3c0209ed..74e164f7 100644 --- a/net/aws/src/aws_transcriber/imp.rs +++ b/net/aws/src/aws_transcriber/imp.rs @@ -956,10 +956,10 @@ impl Transcriber { "Failed to build HTTP request URI: {}", err ); - return error_msg!( + error_msg!( gst::CoreError::Failed, ["Failed to build HTTP request URI: {}", err] - ); + ) })?; let mut request = http::Request::builder() .uri(transcribe_uri)