From c40204d4d69bb09734e6e73d4654f8f019e2b9df Mon Sep 17 00:00:00 2001 From: EricLBuehler Date: Tue, 11 Jun 2024 23:29:56 -0400 Subject: [PATCH] Format --- apis/python/node/src/lib.rs | 4 ++-- derive/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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.