Skip to content

Commit 56c9b19

Browse files
committed
fmt issues :D
1 parent 836c256 commit 56c9b19

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

poulpe_ethercat_py/src/lib.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -344,18 +344,16 @@ impl PyPoulpeRemoteClient {
344344
}
345345

346346
#[pyclass]
347-
pub struct PyEthercatServer{
347+
pub struct PyEthercatServer {
348348
#[pyo3(get, set)]
349349
pub addr: String,
350350
}
351351

352352
#[pymethods]
353-
impl PyEthercatServer{
354-
355-
353+
impl PyEthercatServer {
356354
/// Create a new instance of the server
357355
#[new]
358-
pub fn new( ) -> Self {
356+
pub fn new() -> Self {
359357
PyEthercatServer {
360358
addr: "http://127.0.0.1:50098".to_string(),
361359
}

0 commit comments

Comments
 (0)