mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-29 01:27:56 +00:00
Adjust comments
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//! Generator of the deserialization code for the adjacently tagged enums:
|
||||
//! Deserialization for adjacently tagged enums:
|
||||
//!
|
||||
//! ```ignore
|
||||
//! #[serde(tag = "...", content = "...")]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Generator of the deserialization code for the externally tagged enums:
|
||||
//! Deserialization for externally tagged enums:
|
||||
//!
|
||||
//! ```ignore
|
||||
//! enum Enum {}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Generator of the deserialization code for the internally tagged enums:
|
||||
//! Deserialization for internally tagged enums:
|
||||
//!
|
||||
//! ```ignore
|
||||
//! #[serde(tag = "...")]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Generator of the deserialization code for the untagged enums:
|
||||
//! Deserialization for untagged enums:
|
||||
//!
|
||||
//! ```ignore
|
||||
//! #[serde(untagged)]
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
//! Contains generators of enums that represents identifiers of fields in structs or variants in enums.
|
||||
//! Deserialization of struct field identifiers and enum variant identifiers by
|
||||
//! way of a Rust enum.
|
||||
|
||||
use crate::de::{FieldWithAliases, Parameters};
|
||||
use crate::fragment::{Fragment, Stmts};
|
||||
|
||||
Reference in New Issue
Block a user