Skip to content

Commit

Permalink
style(hydroflow_lang): fix unnecessary & for clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed Jul 15, 2024
1 parent 8470238 commit f591bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydroflow_lang/src/graph/flat_graph_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ impl FlatGraphBuilder {
self.diagnostics.push(Diagnostic::spanned(
singleton_ident.span(),
Level::Error,
&format!(
format!(
"Cannot reference operator `{}`. Only operators with singleton state can be referenced.",
ref_op_constraints.name,
),
Expand Down

0 comments on commit f591bd9

Please sign in to comment.