Skip to content

Commit b43f2c4

Browse files
committed
fix rustdoc
1 parent abaf55e commit b43f2c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ use openapi::{Schema, SchemaData, SchemaKind};
9090
pub struct OpenapiSchema {
9191
/// The name of this schema. If it is None, the schema will be inlined.
9292
pub name: Option<String>,
93-
/// The description of this schema. Optional and only makes sense when a [name] is set as well.
93+
/// The description of this schema. Optional and only makes sense when a [`name`](Self::name)
94+
/// is set as well.
9495
pub description: Option<String>,
9596
/// Whether this particular schema is nullable. Note that there is no guarantee that this will
9697
/// make it into the final specification, it might just be interpreted as a hint to make it

0 commit comments

Comments
 (0)