accept clippy fix

This commit is contained in:
Brian Hicks 2024-04-09 17:17:20 -05:00
parent 98ce28fa61
commit 135d6f8de7
No known key found for this signature in database
GPG Key ID: C4F324B9CAAB0D50

View File

@ -26,7 +26,7 @@ impl TSType {
Schema::Enum { enum_, .. } => Self::Union(
enum_
.into_iter()
.map(|value| Self::StringScalar(value))
.map(Self::StringScalar)
.collect(),
),
_ => todo!("{:#?}", schema),