refactor: add docs on modules overview to run rustfmt

This commit is contained in:
Wataru Otsubo 2025-02-01 19:41:12 +09:00
parent d104e62bf3
commit e147bc513d
2 changed files with 11 additions and 4 deletions

View file

@ -6,9 +6,16 @@
//! [`types`], filling missing parameters. See [`converter`].
//! 2. Generate [`proc_macro2::TokenStream`] from register map produced in the previous step. See
//! [`generator`].
//!
//! # modules
//! - [`types`]: type definitions of internal register map representation
//! - [`type_traits`]: supplemental traits for types in [`types`]
//! - [`parser`]: supplemental parser (string to custom types)
//! - [`converter`]: DOM to internal representation
//! - [`generator`]: internal representation to rust code
pub mod types;
pub mod type_traits;
pub mod parser;
pub mod converter;
pub mod generator;
pub mod parser;
pub mod type_traits;
pub mod types;

View file

@ -1,5 +1,5 @@
//! Module for converting XML custom token string to rust types.
//!
//!
//! Unlike, [`crate::converter`], this only has string "parser".
use std::any;