Derive PartialOrd, Ord, and Copy whenever possible (#717)

This allow other projects to use our structures inside others that need
those.
This commit is contained in:
Augusto Fotino 2022-11-30 14:25:59 -03:00 committed by GitHub
parent c429197340
commit 5e1d9f8d6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 106 additions and 106 deletions

View file

@ -211,7 +211,7 @@ fn parse_show_create() {
assert_eq!(
mysql_and_generic().verified_stmt(format!("SHOW CREATE {} myident", obj_type).as_str()),
Statement::ShowCreate {
obj_type: obj_type.clone(),
obj_type: *obj_type,
obj_name: obj_name.clone(),
}
);