From 3fdb99c9a5e6952ef017457ab8dabb14c773df70 Mon Sep 17 00:00:00 2001 From: sirasistant Date: Tue, 2 Jul 2024 15:32:24 +0000 Subject: [PATCH] remove comment --- noir/noir-repo/tooling/profiler/src/flamegraph.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/noir/noir-repo/tooling/profiler/src/flamegraph.rs b/noir/noir-repo/tooling/profiler/src/flamegraph.rs index 6b47d161f2b..70de6e743b2 100644 --- a/noir/noir-repo/tooling/profiler/src/flamegraph.rs +++ b/noir/noir-repo/tooling/profiler/src/flamegraph.rs @@ -120,10 +120,6 @@ fn location_to_callsite_label<'files>( // Check code slice for ";" and replace it with 'GREEK QUESTION MARK' (U+037E) let code_slice = code_slice.replace(';', "\u{037E}"); - // // "\n" is used for sample separation, and is not allowed by inferno - // // Remove all newlines from the code and replace them with spaces - // let code_slice = code_slice.replace('\n', " "); - let (line, column) = line_and_column_from_span(source.as_ref(), &location.span); format!("{}:{}:{}::{}", filename, line, column, code_slice)