Skip to content

Commit 4951fac

Browse files
authored
Fix formatting in profiling (#84)
1 parent 22bccaa commit 4951fac

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

profiling/src/profiles/encode_dag_cbor.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ pub fn exec(iterations: u64) {
1414

1515
for _ in 0..iterations {
1616
Python::with_gil(|gil| {
17-
println!("{}", libipld::encode_dag_cbor(gil, &PyString::new(gil, json_str)).is_ok());
17+
println!(
18+
"{}",
19+
libipld::encode_dag_cbor(gil, &PyString::new(gil, json_str)).is_ok()
20+
);
1821
});
1922
}
2023
}

profiling/src/profiles/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
pub mod decode_car;
2-
pub mod encode_dag_cbor;
32
pub mod decode_dag_cbor;
3+
pub mod encode_dag_cbor;

0 commit comments

Comments
 (0)