This commit is contained in:
Adam Leventhal 2023-05-08 10:04:30 -07:00 committed by GitHub
parent db1826841e
commit e6004a936f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

6
Cargo.lock generated
View File

@ -2188,7 +2188,7 @@ checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987"
[[package]]
name = "typify"
version = "0.0.12"
source = "git+https://github.com/oxidecomputer/typify#c868ddcbaa07716d4cbd01312f723921bf94bce8"
source = "git+https://github.com/oxidecomputer/typify#28883bdb3868fd1f5c02d25bc5d5bd7ce7d9cc30"
dependencies = [
"typify-impl",
"typify-macro",
@ -2197,7 +2197,7 @@ dependencies = [
[[package]]
name = "typify-impl"
version = "0.0.12"
source = "git+https://github.com/oxidecomputer/typify#c868ddcbaa07716d4cbd01312f723921bf94bce8"
source = "git+https://github.com/oxidecomputer/typify#28883bdb3868fd1f5c02d25bc5d5bd7ce7d9cc30"
dependencies = [
"heck",
"log",
@ -2214,7 +2214,7 @@ dependencies = [
[[package]]
name = "typify-macro"
version = "0.0.12"
source = "git+https://github.com/oxidecomputer/typify#c868ddcbaa07716d4cbd01312f723921bf94bce8"
source = "git+https://github.com/oxidecomputer/typify#28883bdb3868fd1f5c02d25bc5d5bd7ce7d9cc30"
dependencies = [
"proc-macro2",
"quote",

View File

@ -1316,9 +1316,7 @@ impl Generator {
.ok()?
.details()
{
typify::TypeDetails::Array(item) => {
Some(DropshotPagination { item })
}
typify::TypeDetails::Vec(item) => Some(DropshotPagination { item }),
_ => None,
}
}