Skip to content

Commit 3378fc5

Browse files
(MAINT) Fix broken links for rust docs
1 parent 12a6159 commit 3378fc5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/dsc-lib/src/schemas/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ impl SchemaForm {
7070
/// The extension for [`Bundled`] and [`Canonical`] schemas is `.json`
7171
///
7272
/// The extension for [`VSCode`] schemas is `.vscode.json`
73+
///
74+
/// [`Bundled`]: SchemaForm::Bundled
75+
/// [`Canonical`]: SchemaForm::Canonical
76+
/// [`VSCode`]: SchemaForm::VSCode
7377
#[must_use]
7478
pub fn to_extension(&self) -> String {
7579
match self {
@@ -83,6 +87,10 @@ impl SchemaForm {
8387
/// The [`Bundled`] and [`VSCode`] schemas are always published in the `bundled` folder
8488
/// immediately beneath the version folder. The [`Canonical`] schemas use the folder path
8589
/// as defined for that schema.
90+
///
91+
/// [`Bundled`]: SchemaForm::Bundled
92+
/// [`Canonical`]: SchemaForm::Canonical
93+
/// [`VSCode`]: SchemaForm::VSCode
8694
#[must_use]
8795
pub fn to_folder_prefix(&self) -> String {
8896
match self {

0 commit comments

Comments
 (0)