Disable doctests for derive code snippets
This commit is contained in:
parent
2914a1b66a
commit
8438865588
2 changed files with 2 additions and 3 deletions
|
@ -296,7 +296,7 @@ Set the path to the schemars crate instance the generated code should depend on.
|
|||
|
||||
Sets properties specified by [validator attributes](#supported-validator-attributes) on items of an array schema. For example:
|
||||
|
||||
```rs
|
||||
```rust
|
||||
struct Struct {
|
||||
#[schemars(inner(url, regex(pattern = "^https://")))]
|
||||
urls: Vec<String>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue