From fb415713bf13f08099f6996b47a84a87b3323871 Mon Sep 17 00:00:00 2001 From: Alan Lawrence Date: Tue, 1 Aug 2023 17:45:17 +0100 Subject: [PATCH] Doc/comments --- src/types/custom.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/custom.rs b/src/types/custom.rs index 64c293116..90eb153ea 100644 --- a/src/types/custom.rs +++ b/src/types/custom.rs @@ -65,8 +65,8 @@ impl Display for CustomType { } } +/// This parallels [SimpleType::new_tuple] and [SimpleType::new_sum] impl From for SimpleType { - /// Returns a [`ClassicType`] containing this opaque type. fn from(value: CustomType) -> Self { match value.tag { TypeTag::Simple => SimpleType::Qontainer(Container::Opaque(value)),