Skip to content

Commit f151f75

Browse files
(MAINT) Fix broken rustdocs link
1 parent de5baff commit f151f75

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

lib/dsc-lib/src/types/fully_qualified_type_name.rs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,7 @@ use crate::schemas::dsc_repo::DscRepoSchema;
1717
/// Defines the fully qualified type name for a DSC resource or extension. The fully qualified name
1818
/// uniquely identifies each resource and extension.
1919
#[derive(
20-
Clone,
21-
Debug,
22-
Eq,
23-
PartialOrd,
24-
Ord,
25-
Hash,
26-
Serialize,
27-
Deserialize,
28-
JsonSchema,
29-
DscRepoSchema,
20+
Clone, Debug, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize, JsonSchema, DscRepoSchema,
3021
)]
3122
#[serde(try_from = "String")]
3223
#[schemars(
@@ -86,6 +77,8 @@ impl FullyQualifiedTypeName {
8677
/// Creates a new instance of [`FullyQualifiedTypeName`] from a string if the input is valid for the
8778
/// [`VALIDATING_PATTERN`]. If the string is invalid, the method raises the
8879
/// [`DscError::InvalidTypeName`] error.
80+
///
81+
/// [`VALIDATING_PATTERN`]: FullyQualifiedTypeName::VALIDATING_PATTERN
8982
pub fn new(name: &str) -> Result<Self, DscError> {
9083
Self::validate(name)?;
9184
Ok(Self(name.to_string()))

0 commit comments

Comments
 (0)