Skip to content

Commit

Permalink
cargo fmt / clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljklein committed Mar 21, 2024
1 parent f603355 commit 3846350
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions compiler/noirc_frontend/src/hir/type_check/stmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 3846350

Please sign in to comment.