From 043c81d5b71073534a0b6694b33a9cd3942efd5d Mon Sep 17 00:00:00 2001 From: "Ilya (Marshal)" Date: Thu, 27 Nov 2025 14:59:13 +0100 Subject: [PATCH] Fix formatting in profiling --- profiling/src/profiles/encode_dag_cbor.rs | 5 ++++- profiling/src/profiles/mod.rs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/profiling/src/profiles/encode_dag_cbor.rs b/profiling/src/profiles/encode_dag_cbor.rs index 91c9b75..e310463 100644 --- a/profiling/src/profiles/encode_dag_cbor.rs +++ b/profiling/src/profiles/encode_dag_cbor.rs @@ -14,7 +14,10 @@ pub fn exec(iterations: u64) { for _ in 0..iterations { Python::with_gil(|gil| { - println!("{}", libipld::encode_dag_cbor(gil, &PyString::new(gil, json_str)).is_ok()); + println!( + "{}", + libipld::encode_dag_cbor(gil, &PyString::new(gil, json_str)).is_ok() + ); }); } } diff --git a/profiling/src/profiles/mod.rs b/profiling/src/profiles/mod.rs index e567cc7..cddf337 100644 --- a/profiling/src/profiles/mod.rs +++ b/profiling/src/profiles/mod.rs @@ -1,3 +1,3 @@ pub mod decode_car; -pub mod encode_dag_cbor; pub mod decode_dag_cbor; +pub mod encode_dag_cbor;