Fix formatting
This commit is contained in:
parent
89d066eb6b
commit
712a02f1e1
|
@ -252,7 +252,10 @@ struct Candidate {
|
||||||
#[pyproto]
|
#[pyproto]
|
||||||
impl PyObjectProtocol for Candidate {
|
impl PyObjectProtocol for Candidate {
|
||||||
fn __repr__(&self) -> PyResult<String> {
|
fn __repr__(&self) -> PyResult<String> {
|
||||||
Ok(format!("instant_distance.Candidate(pid={}, distance={})", self.pid, self.distance))
|
Ok(format!(
|
||||||
|
"instant_distance.Candidate(pid={}, distance={})",
|
||||||
|
self.pid, self.distance
|
||||||
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue