Make docs examples a tiny bit prettier
This commit is contained in:
parent
93435d519a
commit
3a2b425998
3 changed files with 7 additions and 0 deletions
|
@ -8,6 +8,7 @@ enum SmallPrime {
|
|||
Five = 5,
|
||||
Seven = 7,
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let schema = schema_for!(SmallPrime);
|
||||
println!("{}", serde_json::to_string_pretty(&schema).unwrap());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue