From 4db53a1bcecacffe1a4da2d5829534aeb56fc56c Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Wed, 21 Aug 2024 17:05:30 +0100 Subject: [PATCH] Add link to docs site from rustdoc comment --- schemars/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/schemars/src/lib.rs b/schemars/src/lib.rs index 252609c..5dffb03 100644 --- a/schemars/src/lib.rs +++ b/schemars/src/lib.rs @@ -67,7 +67,9 @@ pub mod r#gen { /// /// This is implemented for many Rust primitive and standard library types. /// -/// This can also be automatically derived on most custom types with `#[derive(JsonSchema)]`. +/// This can also be automatically derived on most custom types with `#[derive(JsonSchema)]` by +/// enabling the `derive` feature flag (which is enabled by default). +/// For more info on deriving `JsonSchema`, see . /// /// # Examples /// Deriving an implementation: