diff --git a/apis/python/node/src/lib.rs b/apis/python/node/src/lib.rs index a44c3a76..e7d65565 100644 --- a/apis/python/node/src/lib.rs +++ b/apis/python/node/src/lib.rs @@ -200,8 +200,8 @@ impl Node { } // TODO: We should only list fields which are at least readableby Python users, right? - - /// Get a list of the fields of this Node. + + /// Get a list of the fields of this Node. pub fn __dir__(&self) -> Vec { self.fields() } diff --git a/derive/src/lib.rs b/derive/src/lib.rs index 4398a59f..58501d32 100644 --- a/derive/src/lib.rs +++ b/derive/src/lib.rs @@ -6,7 +6,7 @@ use quote::quote; use syn::{parse_macro_input, Data, DeriveInput, Fields}; /// Add a `fields` method to the struct. -/// +/// /// Because we cannot have multiple `#[pymethods]` impls, this macro /// produces a function called `fields` which should be called from the /// PyO3 impl.