Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
jfecher committed Jan 29, 2025
1 parent 7a2e7bc commit 9424d4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/noirc_frontend/src/elaborator/expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ impl<'context> Elaborator<'context> {

let field_types = r#type
.borrow()
.get_fields_with_visibility(&struct_generics)
.get_fields_with_visibility(struct_generics)
.expect("This type should already be validated to be a struct");

let fields =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fn main() {

comptime fn my_macro() -> Quoted {
let typ = quote { Foo }.as_type();
quote[$typ {}]
quote [$typ {}]
}

struct Foo {}

0 comments on commit 9424d4d

Please sign in to comment.