Skip to content

Commit f267020

Browse files
committed
chore: Add doc comment to validate_added_action function
1 parent e9f72bd commit f267020

File tree

1 file changed

+3
-0
lines changed
  • crates/stackable-versioned-macros/src/attrs/item

1 file changed

+3
-0
lines changed

crates/stackable-versioned-macros/src/attrs/item/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ impl CommonItemAttributes {
204204
Ok(())
205205
}
206206

207+
/// This associated function is called by the top-level validation function
208+
/// and validates that parameters provided to the `added` actions are
209+
/// valid.
207210
fn validate_added_action(&self) -> Result<()> {
208211
// NOTE (@Techassi): Can the path actually be empty?
209212
if let Some(added) = &self.added {

0 commit comments

Comments
 (0)