Remove extraneous "and" from tuple schema names
This commit is contained in:
parent
b2b733ba5c
commit
9c68e080d6
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,9 @@ macro_rules! tuple_impls {
|
|||
no_ref_schema!();
|
||||
|
||||
fn schema_name() -> String {
|
||||
["Tuple_of".to_owned()$(, $name::schema_name())+].join("_and_")
|
||||
let mut name = "Tuple_of_".to_owned();
|
||||
name.push_str(&[$($name::schema_name()),+].join("_and_"));
|
||||
name
|
||||
}
|
||||
|
||||
fn json_schema(gen: &mut SchemaGenerator) -> Schema {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue