Skip to content

Commit

Permalink
Doc/comments
Browse files Browse the repository at this point in the history
  • Loading branch information
acl-cqc committed Aug 1, 2023
1 parent 96643c4 commit fb41571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/custom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ impl Display for CustomType {
}
}

/// This parallels [SimpleType::new_tuple] and [SimpleType::new_sum]
impl From<CustomType> for SimpleType {
/// Returns a [`ClassicType`] containing this opaque type.
fn from(value: CustomType) -> Self {
match value.tag {
TypeTag::Simple => SimpleType::Qontainer(Container::Opaque(value)),
Expand Down

0 comments on commit fb41571

Please sign in to comment.