mirror of
https://gitlab.cern.ch/wotsubo/endcap-sl-software-ri-generator.git
synced 2025-02-23 00:57:08 +09:00
refactor: add docs on modules overview to run rustfmt
This commit is contained in:
parent
d104e62bf3
commit
e147bc513d
2 changed files with 11 additions and 4 deletions
13
src/lib.rs
13
src/lib.rs
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue