diff --git a/python_special_method_derive/src/lib.rs b/python_special_method_derive/src/lib.rs index 77ca2b5c..1b889718 100644 --- a/python_special_method_derive/src/lib.rs +++ b/python_special_method_derive/src/lib.rs @@ -1,11 +1,13 @@ -//! Derive macros for dora +//! Derive macros to help with Python extern crate proc_macro; use proc_macro::TokenStream; use quote::quote; use syn::{parse_macro_input, Data, DeriveInput, Fields}; -// TODO: We should only list fields which are at least readableby Python users, right? +// TODO: We should only list fields which are at least readable by Python users. +// This would require either reading the visibility modifier (easier) or checking +// the `pyo3` getter /// Add a `fields` method to the struct. ///