From 3846350d556785102fc74cd7bcb7890cabfc299f Mon Sep 17 00:00:00 2001 From: "Michael J. Klein" Date: Thu, 21 Mar 2024 11:35:26 -0400 Subject: [PATCH] cargo fmt / clippy --- compiler/noirc_frontend/src/hir/type_check/stmt.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler/noirc_frontend/src/hir/type_check/stmt.rs b/compiler/noirc_frontend/src/hir/type_check/stmt.rs index 8afb134fb9c..69363d5f00a 100644 --- a/compiler/noirc_frontend/src/hir/type_check/stmt.rs +++ b/compiler/noirc_frontend/src/hir/type_check/stmt.rs @@ -260,9 +260,7 @@ impl<'interner> TypeChecker<'interner> { Type::Error => Type::Error, Type::String(_) => { let (_lvalue_name, lvalue_span) = self.get_lvalue_name_and_span(&lvalue); - self.errors.push(TypeCheckError::StringIndexAssign { - span: lvalue_span, - }); + self.errors.push(TypeCheckError::StringIndexAssign { span: lvalue_span }); Type::Error } other => {