Adjust comments

This commit is contained in:
David Tolnay
2025-09-25 09:40:24 -07:00
parent e219a0d4b7
commit dec153b8fa
6 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
//! Generator of the deserialization code for the adjacently tagged enums:
//! Deserialization for adjacently tagged enums:
//!
//! ```ignore
//! #[serde(tag = "...", content = "...")]
+1 -1
View File
@@ -1,4 +1,4 @@
//! Generator of the deserialization code for the externally tagged enums:
//! Deserialization for externally tagged enums:
//!
//! ```ignore
//! enum Enum {}
+1 -1
View File
@@ -1,4 +1,4 @@
//! Generator of the deserialization code for the internally tagged enums:
//! Deserialization for internally tagged enums:
//!
//! ```ignore
//! #[serde(tag = "...")]
+1 -1
View File
@@ -1,4 +1,4 @@
//! Generator of the deserialization code for the untagged enums:
//! Deserialization for untagged enums:
//!
//! ```ignore
//! #[serde(untagged)]
+2 -1
View File
@@ -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};