fix: satisfy clippy's demands

This commit is contained in:
microproofs
2024-01-11 14:53:02 -05:00
parent 8b62873ef5
commit 4a8fecb70a
7 changed files with 14 additions and 14 deletions

View File

@@ -250,7 +250,7 @@ impl Annotated<Schema> {
"Option" => {
let generic = Annotated::do_from_type(
args.get(0)
args.first()
.expect("Option types have always one generic argument"),
modules,
type_parameters,
@@ -283,7 +283,7 @@ impl Annotated<Schema> {
"List" => {
let generic = Annotated::do_from_type(
args.get(0)
args.first()
.expect("List types have always one generic argument"),
modules,
type_parameters,