Do not use explicit #[doc] comments in test

This breaks the build on nightly
This commit is contained in:
Graham Esau 2019-12-08 22:47:33 +00:00
parent 9579d6a94c
commit ae397b228d

View file

@ -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 :(