From 712a02f1e11ac7d57739861b3517b8dadc1d895f Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 29 Mar 2021 22:33:06 +0200 Subject: [PATCH] Fix formatting --- instant-distance-py/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/instant-distance-py/src/lib.rs b/instant-distance-py/src/lib.rs index 9d561a1..5194b8f 100644 --- a/instant-distance-py/src/lib.rs +++ b/instant-distance-py/src/lib.rs @@ -252,7 +252,10 @@ struct Candidate { #[pyproto] impl PyObjectProtocol for Candidate { fn __repr__(&self) -> PyResult { - Ok(format!("instant_distance.Candidate(pid={}, distance={})", self.pid, self.distance)) + Ok(format!( + "instant_distance.Candidate(pid={}, distance={})", + self.pid, self.distance + )) } }