From 4c8c93d48db06746d174f61aa7f352d0df203ab3 Mon Sep 17 00:00:00 2001 From: Ary Borenszweig Date: Fri, 28 Feb 2025 18:09:05 -0300 Subject: [PATCH] Prevent doctest from running for Rust --- compiler/noirc_evaluator/src/ssa/opt/brillig_entry_points.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/noirc_evaluator/src/ssa/opt/brillig_entry_points.rs b/compiler/noirc_evaluator/src/ssa/opt/brillig_entry_points.rs index 380daabee6c..a2844a59997 100644 --- a/compiler/noirc_evaluator/src/ssa/opt/brillig_entry_points.rs +++ b/compiler/noirc_evaluator/src/ssa/opt/brillig_entry_points.rs @@ -13,7 +13,7 @@ //! generated for different entry points can conflict. //! //! To provide a more concrete example, let's take this program: -//! ``` +//! ```noir //! global ONE: Field = 1; //! global TWO: Field = 2; //! global THREE: Field = 3; @@ -40,7 +40,7 @@ //! } //! ``` //! The two entry points will have different global allocation maps: -//! ``` +//! ```noir //! GlobalInit(Id(1)): //! CONST M32835 = 1 //! CONST M32836 = 2