File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
serde_derive/src/internals Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -490,21 +490,21 @@ impl Container {
490490 }
491491 }
492492
493- // Parse `#[serde(from = "Type")]
493+ // Parse `#[serde(from = "Type")]`
494494 Meta ( NameValue ( m) ) if m. path == FROM => {
495495 if let Ok ( from_ty) = parse_lit_into_ty ( cx, FROM , & m. lit ) {
496496 type_from. set_opt ( & m. path , Some ( from_ty) ) ;
497497 }
498498 }
499499
500- // Parse `#[serde(try_from = "Type")]
500+ // Parse `#[serde(try_from = "Type")]`
501501 Meta ( NameValue ( m) ) if m. path == TRY_FROM => {
502502 if let Ok ( try_from_ty) = parse_lit_into_ty ( cx, TRY_FROM , & m. lit ) {
503503 type_try_from. set_opt ( & m. path , Some ( try_from_ty) ) ;
504504 }
505505 }
506506
507- // Parse `#[serde(into = "Type")]
507+ // Parse `#[serde(into = "Type")]`
508508 Meta ( NameValue ( m) ) if m. path == INTO => {
509509 if let Ok ( into_ty) = parse_lit_into_ty ( cx, INTO , & m. lit ) {
510510 type_into. set_opt ( & m. path , Some ( into_ty) ) ;
You can’t perform that action at this time.
0 commit comments