Skip to content

Commit f5762dd

Browse files
committed
doc: Fix doc comment links
1 parent 7e233b1 commit f5762dd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ use crate::{attrs::item::CommonItemAttributes, codegen::VersionDefinition, utils
99
/// Data stored in this struct is validated using darling's `and_then` attribute.
1010
/// During darlings validation, it is not possible to validate that action
1111
/// versions match up with declared versions on the container. This validation
12-
/// can be done using the associated [`ValidateVersions::validate_versions`][1]
12+
/// can be done using the associated [`FieldAttributes::validate_versions`][1]
1313
/// function.
1414
///
1515
/// Rules shared across fields and variants can be found [here][2].
1616
///
17-
/// [1]: crate::attrs::common::ValidateVersions::validate_versions
18-
/// [2]: crate::attrs::common::ItemAttributes
17+
/// [1]: crate::attrs::item::FieldAttributes::validate_versions
18+
/// [2]: crate::attrs::item::CommonItemAttributes
1919
#[derive(Debug, FromField)]
2020
#[darling(
2121
attributes(versioned),

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ use crate::{attrs::item::CommonItemAttributes, codegen::VersionDefinition, utils
1010
/// Data stored in this struct is validated using darling's `and_then` attribute.
1111
/// During darlings validation, it is not possible to validate that action
1212
/// versions match up with declared versions on the container. This validation
13-
/// can be done using the associated [`ValidateVersions::validate_versions`][1]
13+
/// can be done using the associated [`VariantAttributes::validate_versions`][1]
1414
/// function.
1515
///
1616
/// Rules shared across fields and variants can be found [here][2].
1717
///
18-
/// [1]: crate::attrs::common::ValidateVersions::validate_versions
19-
/// [2]: crate::attrs::common::ItemAttributes
18+
/// [1]: crate::attrs::item::VariantAttributes::validate_versions
19+
/// [2]: crate::attrs::item::CommonItemAttributes
2020
#[derive(Debug, FromVariant)]
2121
#[darling(
2222
attributes(versioned),

0 commit comments

Comments
 (0)