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
+3 -3
View File
@@ -168,9 +168,9 @@ impl Parameters {
self.this_type.segments.last().unwrap().ident.to_string()
}
/// Split a deserialized type's generics into the pieces required for impl'ing
/// a `Deserialize` trait for that type. Additionally appends the `'de` lifetime
/// to list of impl generics.
/// Split the data structure's generics into the pieces to use for its
/// `Deserialize` impl, augmented with an additional `'de` lifetime for use
/// as the `Deserialize` trait's lifetime.
fn generics_with_de_lifetime(
&self,
) -> (