From 186375b1c492ca4d84690860f0fa6a8d1a25bea2 Mon Sep 17 00:00:00 2001
From: Tom French <15848336+TomAFrench@users.noreply.github.com>
Date: Fri, 4 Aug 2023 14:20:43 +0100
Subject: [PATCH] chore: update stale comment on `create_circuit` (#2173)

---
 crates/noirc_evaluator/src/ssa.rs | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/crates/noirc_evaluator/src/ssa.rs b/crates/noirc_evaluator/src/ssa.rs
index c57bb330b09..2b7be935619 100644
--- a/crates/noirc_evaluator/src/ssa.rs
+++ b/crates/noirc_evaluator/src/ssa.rs
@@ -65,10 +65,9 @@ pub(crate) fn optimize_into_acir(
     ssa.into_acir(brillig, abi_distinctness)
 }
 
-/// Compiles the Program into ACIR and applies optimizations to the arithmetic gates
-/// This is analogous to `ssa:create_circuit` and this method is called when one wants
-/// to use the new ssa module to process Noir code.
-// TODO: This no longer needs to return a result, but it is kept to match the signature of `create_circuit`
+/// Compiles the [`Program`] into [`ACIR`][acvm::acir::circuit::Circuit].
+///
+/// The output ACIR is is backend-agnostic and so must go through a transformation pass before usage in proof generation.
 pub fn create_circuit(
     program: Program,
     enable_ssa_logging: bool,