diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-17 04:04:11 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-17 04:04:11 +0800 |
| commit | dc9d5ea0026a6cb6bb477d5db8e9190a79ecb337 (patch) | |
| tree | fffa1630946e8299e25f805955cc3baa0479be0d /mingling_pathf/src/patterns/basic_struct.rs | |
| parent | b9f208deed7b8e012fbcd84202e2fb1d5eb8eeb9 (diff) | |
docs: add module-level documentation and improve doc comments
Diffstat (limited to 'mingling_pathf/src/patterns/basic_struct.rs')
| -rw-r--r-- | mingling_pathf/src/patterns/basic_struct.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mingling_pathf/src/patterns/basic_struct.rs b/mingling_pathf/src/patterns/basic_struct.rs index eeb665a..09e8e70 100644 --- a/mingling_pathf/src/patterns/basic_struct.rs +++ b/mingling_pathf/src/patterns/basic_struct.rs @@ -1,3 +1,7 @@ +//! The `BasicStructPattern` matches `struct` definitions in Rust source code. +//! It identifies root-level structs and structs nested inside inline modules, +//! returning their names and optional module path for analysis. + use syn::Item; use crate::pattern_analyzer::{AnalyzeItem, AnalyzePattern}; |
