Do not use explicit #[doc] comments in test
This breaks the build on nightly
This commit is contained in:
parent
9579d6a94c
commit
ae397b228d
1 changed files with 3 additions and 3 deletions
|
@ -23,10 +23,10 @@ pub struct MyStruct {
|
||||||
#[derive(Debug, JsonSchema)]
|
#[derive(Debug, JsonSchema)]
|
||||||
pub struct MyUnitStruct;
|
pub struct MyUnitStruct;
|
||||||
|
|
||||||
#[doc = " # This is the enum's title "]
|
/// # This is the enum's title
|
||||||
#[doc = " This is "]
|
/// This is
|
||||||
#[derive(Debug, JsonSchema)]
|
#[derive(Debug, JsonSchema)]
|
||||||
#[doc = " the enum's description."]
|
/// the enum's description.
|
||||||
pub enum MyEnum {
|
pub enum MyEnum {
|
||||||
UndocumentedUnit,
|
UndocumentedUnit,
|
||||||
/// This comment is not included in the generated schema :(
|
/// This comment is not included in the generated schema :(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue