add doc comment

This commit is contained in:
Kiryl Dziamura 2024-05-28 11:00:28 +02:00
parent cbe5d127d7
commit cc7b656703
No known key found for this signature in database
GPG key ID: FB539501A4561ACF

View file

@ -1130,6 +1130,8 @@ impl<'a> ImportAlias<'a> {
#[derive(Debug, Clone, PartialEq, Default)]
pub struct Defs<'a> {
/// A collection of references by index to either `type_defs` or `value_defs`
/// It's an entry point for actual definitions, while `type_defs` and `value_defs` are append-only collections
pub tags: std::vec::Vec<EitherIndex<TypeDef<'a>, ValueDef<'a>>>,
pub regions: std::vec::Vec<Region>,
pub space_before: std::vec::Vec<Slice<CommentOrNewline<'a>>>,