Skip to content

Commit eb28fc4

Browse files
committed
Fix accidentally-changed example code
1 parent 7e257e0 commit eb28fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schemars/examples/schemars_attrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ pub enum MyEnum {
2525
}
2626

2727
fn main() {
28-
let schema = schema_for!(MyEnum);
28+
let schema = schema_for!(MyStruct);
2929
println!("{}", serde_json::to_string_pretty(&schema).unwrap());
3030
}

0 commit comments

Comments
 (0)