mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-11-03 00:21:06 +00:00
update to rust HEAD
This commit is contained in:
1 parent
20e642420e
commit
23f3173ded
6 files changed
+21
-21
No files matched your search
@@ -291,7 +291,7 @@ fn deserialize_struct(
|
||||
let type_name_str = cx.expr_str(span, token::get_ident(type_ident));
|
||||
|
||||
let fields = match *fields {
|
||||
Unnamed(_) => fail!(),
|
||||
Unnamed(_) => panic!(),
|
||||
Named(ref fields) => fields.as_slice(),
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user