mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-11-14 03:17:06 +00:00
Rename fmt to format
This commit is contained in:
1 parent
a935ebe8b9
commit
c30311153c
7 files changed
+8
-8
No files matched your search
@@ -616,7 +616,7 @@ fn deserialize_field_visitor(
|
||||
.collect();
|
||||
|
||||
quote_expr!(cx,
|
||||
match D::fmt() {
|
||||
match D::format() {
|
||||
$fmt_matches,
|
||||
_ => match value {
|
||||
$default_field_arms,
|
||||
|
||||
@@ -533,7 +533,7 @@ fn serialize_struct_visitor<I>(
|
||||
.collect::<Vec<_>>();
|
||||
quote_expr!(cx,
|
||||
{
|
||||
match S::fmt() {
|
||||
match S::format() {
|
||||
$arms,
|
||||
_ => $default
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user